diff options
| author | Marc Florisson | 2012-05-16 22:54:23 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-05-16 22:54:23 +0200 |
| commit | 9485e4ddc7afc5c481b066dfc8bb315f296d0023 (patch) | |
| tree | 72700680784e3acb49a0450098ea73b3d6ef461b /app/controllers | |
| parent | 7bcb93aff46042a8fd229f6c78b3e8bbb4431f5c (diff) | |
| download | chouette-core-9485e4ddc7afc5c481b066dfc8bb315f296d0023.tar.bz2 | |
add some spec on route and stop_points
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/stop_points_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/stop_points_controller.rb b/app/controllers/stop_points_controller.rb index a6833eb06..22b23cff5 100644 --- a/app/controllers/stop_points_controller.rb +++ b/app/controllers/stop_points_controller.rb @@ -23,9 +23,7 @@ class StopPointsController < ChouetteController else flash[:alert] = t("stop_points.reorder_failure") end - respond_to do |format| - format.html { redirect_to :action => :index } - end + redirect_to :action => :index end end |
