diff options
| author | cedricnjanga | 2018-05-23 17:21:03 -0700 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-05-29 14:41:02 +0200 | 
| commit | f6c2141a1672acb7010f2e7b961e53b0e34a21cb (patch) | |
| tree | d3a27c213e1c1ad2383d2dd1784e00b7df313121 /app/controllers | |
| parent | 79e89af12bbc865b6defafa27dca5dafd72df3ef (diff) | |
| download | chouette-core-f6c2141a1672acb7010f2e7b961e53b0e34a21cb.tar.bz2 | |
Refs #6860 Remove all call of referential_stop_areas_path & referential_stop_area_path
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/stop_area_copies_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/controllers/stop_area_copies_controller.rb b/app/controllers/stop_area_copies_controller.rb index 992a2bb08..aaa08620e 100644 --- a/app/controllers/stop_area_copies_controller.rb +++ b/app/controllers/stop_area_copies_controller.rb @@ -19,7 +19,7 @@ class StopAreaCopiesController < ChouetteController      @stop_area_copy = StopAreaCopy.new(params[:stop_area_copy])      @stop_area = parent      if @stop_area_copy.save -      redirect_to referential_stop_area_path( @referential,@stop_area_copy.copy ), notice: I18n.t("stop_area_copies.new.success") +      redirect_to stop_area_referential_stop_area_path(@stop_area.stop_area_referential, @stop_area_copy.copy), notice: I18n.t("stop_area_copies.new.success")      else        flash[:error] = I18n.t("stop_area_copies.errors.copy_aborted") + "<br>" + @stop_area_copy.errors.full_messages.join("<br>")        render :action => :new | 
