Skip to content

Commit

Permalink
change root path
Browse files Browse the repository at this point in the history
  • Loading branch information
groteck committed Jun 26, 2012
1 parent 8ec1059 commit 339d003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Expand Up @@ -19,7 +19,7 @@
match '*dummy', to: "error#error_404"
end

root to: "pages#index", locale: I18n.default_locale
root :to => redirect("/#{I18n.default_locale}/")

# Capture invalid pages
match '*dummy', to: "error#error_404", locale: I18n.default_locale.to_s
Expand Down

0 comments on commit 339d003

Please sign in to comment.