Back to noiseandnailpolish's profile
0:00
0:59

Jam from Jan 27 2014 I

noiseandnailpolish

Uploaded .
0
45

require ‘sidekiq/web’
require ‘admin_constraint’

Alonetone::Application.routes.draw do
mount Sidekiq::Web => ‘/sidekiq’, :constraints => AdminConstraint.new

constraints Greenfield::Constraints do
mount Greenfield::Engine => “/”
end

resources :groups

get ‘/login’, :to => ‘user_sessions#new’, :as => ‘login’
match ‘/logout’, :to => ‘user_sessions#destroy’, via: [:get, :post]
resources :user_sessions do
collection do
get :greenfield_login, :constraints => {:format => ‘js’}
post :create_from_token
end
end

Recent Listeners

kirklynch's avatar
noiseandnailpolish's avatar
Gene Eric Mann's avatar
Saved!