diff --git a/config/routes.rb b/config/routes.rb index 6783d2a92..f7a02d00e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,11 +1,6 @@ # -*- encoding : utf-8 -*- Rosa::Application.routes.draw do require 'resque/server' - namespace :admin do - constraints CanAccessResque do - mount Resque::Server, at: 'resque' - end - end devise_scope :users do get '/users/auth/:provider' => 'users/omniauth_callbacks#passthru' @@ -29,6 +24,10 @@ Rosa::Application.routes.draw do end namespace :admin do + constraints CanAccessResque do + mount Resque::Server, at: 'resque' + end + resources :users do get :list, :on => :collection end