]> source.dussan.org Git - redmine.git/commitdiff
use "do end" instead of {} at TrackersController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 8 Nov 2020 13:02:42 +0000 (13:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 8 Nov 2020 13:02:42 +0000 (13:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20304 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/trackers_controller.rb

index af839e5880c67efdca5a2e3f7c367f54ae604400..0d8bed419a5c656ddbe66645d00abc08a46d6223 100644 (file)
@@ -66,18 +66,18 @@ class TrackersController < ApplicationController
     @tracker.safe_attributes = params[:tracker]
     if @tracker.save
       respond_to do |format|
-        format.html {
+        format.html do
           flash[:notice] = l(:notice_successful_update)
           redirect_to trackers_path(:page => params[:page])
-        }
+        end
         format.js { head 200 }
       end
     else
       respond_to do |format|
-        format.html {
+        format.html do
           edit
           render :action => 'edit'
-        }
+        end
         format.js { head 422 }
       end
     end