mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
remove spaces inside {} of ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20482 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2d5b773711
commit
29de4e73b3
@ -131,8 +131,8 @@ class ProjectsController < ApplicationController
|
||||
end
|
||||
else
|
||||
respond_to do |format|
|
||||
format.html { render :action => 'new' }
|
||||
format.api { render_validation_errors(@project) }
|
||||
format.html {render :action => 'new'}
|
||||
format.api {render_validation_errors(@project)}
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -217,7 +217,7 @@ class ProjectsController < ApplicationController
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to settings_project_path(@project, params[:tab])
|
||||
end
|
||||
format.api { render_api_ok }
|
||||
format.api {render_api_ok}
|
||||
end
|
||||
else
|
||||
respond_to do |format|
|
||||
@ -225,7 +225,7 @@ class ProjectsController < ApplicationController
|
||||
settings
|
||||
render :action => 'settings'
|
||||
end
|
||||
format.api { render_validation_errors(@project) }
|
||||
format.api {render_validation_errors(@project)}
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -253,7 +253,7 @@ class ProjectsController < ApplicationController
|
||||
end
|
||||
respond_to do |format|
|
||||
format.js
|
||||
format.html { redirect_to project_path(@project) }
|
||||
format.html {redirect_to project_path(@project)}
|
||||
end
|
||||
end
|
||||
|
||||
@ -283,7 +283,7 @@ class ProjectsController < ApplicationController
|
||||
User.current.admin? ? admin_projects_path : projects_path
|
||||
)
|
||||
end
|
||||
format.api { render_api_ok }
|
||||
format.api {render_api_ok}
|
||||
end
|
||||
end
|
||||
# hide project in layout
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user