public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
force redirect to be 301 instead of the new default (302)

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@3005 
567b1171-46fb-0310-a4c9-b4bef9110e78
psq (author)
Fri Oct 26 01:53:03 -0700 2007
commit  7dcb02a9a741b8876b5efbd1cbfd44c4915bbd02
tree    c7042675bd1691df192475786ad6cf1fe20bfa8f
parent  2d4afdb1d30b61e59aa0564e136be085e4a3c7f0
...
18
19
20
21
 
22
23
24
...
18
19
20
 
21
22
23
24
0
@@ -18,7 +18,7 @@ class MephistoController < ApplicationController
0
       # @dispatch_path.first has the headers
0
       if @dispatch_path.first.is_a?(Hash)
0
         response.headers['Status'] = interpret_status @section
0
- redirect_to @dispatch_path.first[:location]
0
+ redirect_to @dispatch_path.first[:location], :status=>301
0
       else
0
         head @section
0
       end

Comments

    No one has commented yet.