Skip to content

Instantly share code, notes, and snippets.

@chischaschos
Created August 16, 2011 16:24
Show Gist options
  • Save chischaschos/1149472 to your computer and use it in GitHub Desktop.
Save chischaschos/1149472 to your computer and use it in GitHub Desktop.
Booma::Application.routes.draw do
unless Rails.env.test?
authenticate :admin_user do
mount Resque::Server.new, :at => "/gh_resque"
end
end
match '/auth/:provider/callback' => 'authentications#create'
match '/auth/destroy' => 'authentications#destroy'
match '/users/update_nags', :to => 'users#update_nags'
resources :orders do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment