app/views/feeds/new_extended.html.erb in muck-raker-0.1.37 vs app/views/feeds/new_extended.html.erb in muck-raker-0.1.38
- old
+ new
@@ -1,9 +1,9 @@
<div id="add_single_feed">
<h1><%= t('muck.raker.add_extended_feed_title') %></h1>
<p><%= t('muck.raker.add_extended_feed_sub_title') %></p>
<%= error_messages_for :feed -%>
- <% custom_form_for(:feed, :url => new_feed_path_with_parent(@parent)) do |f| -%>
+ <% custom_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
<%= f.text_field :title, { :label => t('muck.raker.title' ) } %>
<%= f.text_field :short_title, { :label => t('muck.raker.short_title' ) } %>
<%= f.text_field :harvested_from_title, { :label => t('muck.raker.repository_title' ) } %>
<%= f.text_field :harvested_from_short_title, { :label => t('muck.raker.repository_short_title' ) } %>
<%= f.text_field :uri, { :label => t('muck.raker.collection_uri' ) } %>
\ No newline at end of file