public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9
<%
# terribad hack for Rails 3.0 crap
url = if @topic.new_record?
forem_forum_topics_url(@forum)
else
forem_forum_topic_url(@forum, @topic)
end
%>
<%= simple_form_for [@forum, @topic], :url => url do |f| %>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.