diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index c40119b28..4407ca953 100644 --- a/app/controllers/feeds_controller.rb +++ b/app/controllers/feeds_controller.rb @@ -18,6 +18,7 @@ def new @feed = @podcast.feeds.new(private: false, slug: "") authorize @feed + @feed.assign_attributes(feed_params) @feed.clear_attribute_changes(%i[file_name podcast_id private slug]) end @@ -106,6 +107,10 @@ def nilified_feed_params :title, :subtitle, :description, + :itunes_category, + :itunes_subcategory, + :include_donation_url, + :include_podcast_value, :private, :url, :new_feed_url, @@ -122,8 +127,6 @@ def nilified_feed_params :house, :paid, :sonic_id, - :include_donation_url, - :include_podcast_value, include_tags: [], feed_tokens_attributes: %i[id label token _destroy], feed_images_attributes: %i[id original_url size alt_text caption credit _destroy _retry], diff --git a/app/views/feeds/_form_overrides.html.erb b/app/views/feeds/_form_overrides.html.erb index a2357b025..14bfab1a2 100644 --- a/app/views/feeds/_form_overrides.html.erb +++ b/app/views/feeds/_form_overrides.html.erb @@ -6,6 +6,46 @@