From f7fe4c24e29ceb517abdda66899952a5d6aa73bf Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 18 Apr 2018 13:19:18 +0200 Subject: Refs #6572; New Referential#Show for noredy referentials --- app/controllers/clean_ups_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/clean_ups_controller.rb') diff --git a/app/controllers/clean_ups_controller.rb b/app/controllers/clean_ups_controller.rb index c25df1a00..350f9ae87 100644 --- a/app/controllers/clean_ups_controller.rb +++ b/app/controllers/clean_ups_controller.rb @@ -3,6 +3,8 @@ class CleanUpsController < ChouetteController respond_to :html, :only => [:create] belongs_to :referential + defaults :resource_class => CleanUp + def create @clean_up = CleanUp.new(clean_up_params) @clean_up.referential = @referential -- cgit v1.2.3