Turns on devise scoped views

That way we can have users/registrations & organizations/registrations
This commit is contained in:
kikito
2015-08-16 23:36:33 +02:00
parent 9343952d52
commit 1f2f318e83

View File

@@ -211,7 +211,7 @@ Devise.setup do |config|
# Turn scoped views on. Before rendering "sessions/new", it will first check for
# "users/sessions/new". It's turned off by default because it's slower if you
# are using only default views.
# config.scoped_views = false
config.scoped_views = true
# Configure the default scope given to Warden. By default it's the first
# devise role declared in your routes (usually :user).