config/routes.rb in binda-0.1.0 vs config/routes.rb in binda-0.1.1
- old
+ new
@@ -2,10 +2,10 @@
# ROOT
# ----
# https://github.com/plataformatec/devise/wiki/How-To:-Require-authentication-for-all-components
# https://stackoverflow.com/a/24135199/1498118
- authenticated :user, class_name: "Binda::User", module: 'binda/users' do
+ authenticated :user do
root to: "boards#dashboard"
end
unauthenticated :user do
devise_scope :user do
get "/", to: "users/sessions#new"