Project

General

Profile

Does redmine uses the Post-Redirect-Get-Pattern?

Added by Terence Mill over 12 years ago

Tx for answering!


Replies (1)

RE: Does redmine uses the Post-Redirect-Get-Pattern? - Added by Etienne Massip over 12 years ago

It's a minimum requirement for a good "web" piece of software =)

See for example source:/trunk/app/controllers/issues_controller.rb#L154:

  1. POST /issues
  2. IssueController#create
  3. redirect_to { :action => 'show', :id => @issue }
  4. GET /issue/NN
  5. IssueController#show
    (1-1/1)