diff options
| author | Zog | 2018-04-18 13:19:18 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-27 11:17:19 +0200 | 
| commit | f7fe4c24e29ceb517abdda66899952a5d6aa73bf (patch) | |
| tree | 7fdd8323e8e5a0189771976878310167b6cdac49 /app/controllers/clean_ups_controller.rb | |
| parent | 0046e5a01cb08c10118b01c50f3c52d159854ef0 (diff) | |
| download | chouette-core-f7fe4c24e29ceb517abdda66899952a5d6aa73bf.tar.bz2 | |
Refs #6572; New Referential#Show for noredy referentials
Diffstat (limited to 'app/controllers/clean_ups_controller.rb')
| -rw-r--r-- | app/controllers/clean_ups_controller.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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 | 
