Skip to content

Commit a96cd79

Browse files
committed
remove spaces inside {} of IssueCategoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20452 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 9d22229 commit a96cd79

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

app/controllers/issue_categories_controller.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ class IssueCategoriesController < ApplicationController
2828

2929
def index
3030
respond_to do |format|
31-
format.html { redirect_to_settings_in_projects }
32-
format.api { @categories = @project.issue_categories.to_a }
31+
format.html {redirect_to_settings_in_projects}
32+
format.api {@categories = @project.issue_categories.to_a}
3333
end
3434
end
3535

3636
def show
3737
respond_to do |format|
38-
format.html { redirect_to_settings_in_projects }
38+
format.html {redirect_to_settings_in_projects}
3939
format.api
4040
end
4141
end
@@ -67,9 +67,9 @@ def create
6767
end
6868
else
6969
respond_to do |format|
70-
format.html { render :action => 'new'}
71-
format.js { render :action => 'new'}
72-
format.api { render_validation_errors(@category) }
70+
format.html {render :action => 'new'}
71+
format.js {render :action => 'new'}
72+
format.api {render_validation_errors(@category)}
7373
end
7474
end
7575
end
@@ -85,12 +85,12 @@ def update
8585
flash[:notice] = l(:notice_successful_update)
8686
redirect_to_settings_in_projects
8787
end
88-
format.api { render_api_ok }
88+
format.api {render_api_ok}
8989
end
9090
else
9191
respond_to do |format|
92-
format.html { render :action => 'edit' }
93-
format.api { render_validation_errors(@category) }
92+
format.html {render :action => 'edit'}
93+
format.api {render_validation_errors(@category)}
9494
end
9595
end
9696
end
@@ -104,8 +104,8 @@ def destroy
104104
end
105105
@category.destroy(reassign_to)
106106
respond_to do |format|
107-
format.html { redirect_to_settings_in_projects }
108-
format.api { render_api_ok }
107+
format.html {redirect_to_settings_in_projects}
108+
format.api {render_api_ok}
109109
end
110110
return
111111
end

0 commit comments

Comments
 (0)