Added user roles and authentication, sign in/out

This commit is contained in:
Jason Denney
2012-12-29 16:22:24 -05:00
parent bb27c7a585
commit db9982dcd2
23 changed files with 232 additions and 89 deletions
+1 -2
View File
@@ -8,7 +8,7 @@ Velocipede::Application.routes.draw do
# first created -> highest priority.
match 'site/index' => 'site#index'
=end
resources :bike_brands, :except => [:edit, :delete]
resources :bike_models, :except => [:edit, :delete]
resources :bike_statuses
@@ -38,6 +38,5 @@ Velocipede::Application.routes.draw do
#match ':loggable_type/:loggable_id/logs' => 'acts_as_loggable/logs#index', :as => 'loggable_logs'
=end
root :to => 'site#index'
end