ruby - Rails HAML ActionView::Template::Error super: no superclass method `url_for' -
I'm trying to downgrade from Rail 4 to 3.2 so my site will work on site 5 hosting. I can not find this error anywhere on the Internet, so I thought that someone might have an idea here, is it something that is wrong with my link?
I basically use I resolve it by doing it Was able to: {: controller => 'Home',: Action = & gt; 'Index'} as the URL, but there is a single error in both ways.
ActionView :: Template :: Error (Super: No superclass method # url_for '# for & lt; orbit: 0x7f03aea10730 & gt;: 0x7f03aeb38f40 & gt;): 14 :. Container 15: .oo 16: .col-lg-4.col-md-4.col-sm-4 17: = link_to (image_tag (image_path ("logo .png"), class = & gt; Logo "), '/ home / index') 18: .col-lg-8.col-md-8.col-sm-8.- menu 1 9:% ul .pull-right 20:% li = link_to ( 'Home', '/ home / index')
.container .row .col-lg-4.col-md-4.col-sm-4% a {: href = & gt; '/ home / index'} = image_tag ("logo.png", {: class => "main-logo"}) .col-lg-8.col-md-8.col-sm-8 Menu% ul.pull-right% li = link_to ('Home', '/ Home / Index')
Comments
Post a Comment