config/routes.rb in enju_leaf-1.1.0.rc7 vs config/routes.rb in enju_leaf-1.1.0.rc8
- old
+ new
@@ -1,5 +1,13 @@
Rails.application.routes.draw do
+ authenticate :user, lambda {|u| u.role.try(:name) == 'Administrator' } do
+ mount Resque::Server.new, :at => "/resque", :as => :resque
+ end
+
+ resources :user_import_results
+
+ resources :user_import_files
+
resource :my_account
#resources :users do
# resource :patron
#end