mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
You should redirect externally on the default action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
822742164e
commit
a89e36a22a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ RewriteEngine On
|
|||
RewriteBase /dispatch.cgi
|
||||
|
||||
# Enable this rewrite rule to point to the controller/action that should serve root.
|
||||
# RewriteRule ^$ /controller/action
|
||||
# RewriteRule ^$ /controller/action [R]
|
||||
|
||||
# Add missing slash
|
||||
RewriteRule ^([-_a-zA-Z0-9]+)$ /$1/ [R]
|
||||
|
|
Loading…
Reference in a new issue