trabajo-afectivo/config/routes/auth.rb

14 lines
375 B
Ruby
Raw Normal View History

module ExtraRoutes
def add(map)
# omniauth
map.match '/auth/:provider/callback', :to => 'sessions#create_omniauth'
2012-11-22 14:40:36 +00:00
# sessions
map.match '/signin', :to => 'sessions#create'
map.match '/signshow', :to => 'sessions#show'
map.match '/signout', :to => 'sessions#destroy'
2012-11-22 14:40:36 +00:00
end
module_function :add
end