Merge pull request #252 from wvengen/feature-fix_redirect_with_suburi
fix root redirect when using suburi
This commit is contained in:
commit
9308096e96
2 changed files with 8 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ Foodsoft::Application.routes.draw do
|
|||
|
||||
get "sessions/new"
|
||||
|
||||
root :to => redirect("/#{FoodsoftConfig.scope}")
|
||||
root :to => 'sessions#redirect_to_foodcoop'
|
||||
|
||||
|
||||
scope '/:foodcoop' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue