Don't verify method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11607 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
447e15d6cb
commit
248d983a7d
|
@ -40,7 +40,7 @@ class IssueStatusesController < ApplicationController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@issue_status = IssueStatus.new(params[:issue_status])
|
@issue_status = IssueStatus.new(params[:issue_status])
|
||||||
if request.post? && @issue_status.save
|
if @issue_status.save
|
||||||
flash[:notice] = l(:notice_successful_create)
|
flash[:notice] = l(:notice_successful_create)
|
||||||
redirect_to issue_statuses_path
|
redirect_to issue_statuses_path
|
||||||
else
|
else
|
||||||
|
@ -54,7 +54,7 @@ class IssueStatusesController < ApplicationController
|
||||||
|
|
||||||
def update
|
def update
|
||||||
@issue_status = IssueStatus.find(params[:id])
|
@issue_status = IssueStatus.find(params[:id])
|
||||||
if request.put? && @issue_status.update_attributes(params[:issue_status])
|
if @issue_status.update_attributes(params[:issue_status])
|
||||||
flash[:notice] = l(:notice_successful_update)
|
flash[:notice] = l(:notice_successful_update)
|
||||||
redirect_to issue_statuses_path
|
redirect_to issue_statuses_path
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue