diff options
author | Johan Sørensen <johan@johansorensen.com> | 2009-07-30 16:59:24 +0200 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-08-24 09:37:28 +0200 |
commit | 4a5464b2db06da8916370a6183d5c5dfa13c3c44 (patch) | |
tree | c1443e130e0b9a13bdbf97da8eb1acc6b30dae8a /app/controllers/projects_controller.rb | |
parent | 38375d4a0696be4b6755270632741139b2f23f77 (diff) | |
download | gitorious-mainline-outdated-4a5464b2db06da8916370a6183d5c5dfa13c3c44.zip gitorious-mainline-outdated-4a5464b2db06da8916370a6183d5c5dfa13c3c44.tar.gz gitorious-mainline-outdated-4a5464b2db06da8916370a6183d5c5dfa13c3c44.tar.bz2 |
Be able to easily add/remove merge-request statuses from projects#edit
- add some javascript helpers
- Be able to easily add/remove statuses without page refresh
- Colorize the status in merge_requests#index
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 8d5e2ed..b2416dc 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -133,7 +133,7 @@ class ProjectsController < ApplicationController flash[:success] = "Project details updated" redirect_to project_path(@project) else - render :action => 'new' + render :action => 'edit' end end |