search for: forums_path

Displaying 2 results from an estimated 2 matches for "forums_path".

2012 Oct 18
1
routing issue with mounted engine - Rails 3.2.8
...ts => { :locale => I18n.locale } ... end when I display the home page of the subdomain, http://bingo.lvh.me:3000/ I don''t have any problem with the navbar links in the header in which I have : = link_to t(:home), home_sites_path(:locale => I18n.locale) = link_to t(:forums), forums_path(:locale => I18n.locale) Upon clicking on ''forums'' item ( generated url: bingo.lvh.me:3000/ en/forums ) , I am redirected correctly to the engine Forem::forums#index, the rendering raises an error with the home link ... undefined method `home_sites_path'' for #&lt...
2009 Sep 30
2
What is this view syntax? Old beast forum code...
...ing is code like this in the views: <%= ''{count} topic(s)''[(count=Topic.count)==1 ? :topic_count : :topics_count, number_with_delimiter(count)] %>, or <%= submit_tag ''Save Forum''[:save_forum], :or => link_to(''Cancel''[:cancel], forums_path) %> My first thought was "wtf is that?", and it''s that question that i put to you, dear readers. max -- Posted via http://www.ruby-forum.com/.