spec/dummy/config/routes.rb in enju_leaf-1.2.0 vs spec/dummy/config/routes.rb in enju_leaf-1.2.1
- old
+ new
@@ -1,9 +1,6 @@
Dummy::Application.routes.draw do
devise_for :users
- authenticate :user, lambda {|u| u.role.try(:name) == 'Administrator' } do
- mount Resque::Server.new, at: "/resque", as: :resque
- end
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route: