config/routes.rb in enju_leaf-1.1.0.rc12 vs config/routes.rb in enju_leaf-1.1.0.rc13

- old
+ new

@@ -1,27 +1,24 @@ 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 :profiles + + resources :user_export_files + resources :user_import_results, :only => [:index, :show, :destroy] resources :user_import_files do resources :user_import_results, :only => [:index, :show, :destroy] end resource :my_account - #resources :users do - # resource :patron - #end - resources :users - resources :roles, :except => [:new, :create, :destroy] resources :user_groups - - resources :local_patrons, :only => :show resources :accepts resources :baskets do resources :accepts, :except => [:edit, :update]