Class: Freelancer::Rails::Routes
- Inherits:
-
Object
- Object
- Freelancer::Rails::Routes
- Defined in:
- lib/freelancer-rails/routes.rb
Class Method Summary collapse
Class Method Details
.draw(map) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/freelancer-rails/routes.rb', line 5 def self.draw(map) map.namespace(:freelancer) do |freelancer| freelancer.sign_in "sign_in", :controller => "rails/authorizations", :action => "new" freelancer. "authorize", :controller => "rails/authorizations", :action => "create" freelancer.oauth_callback "oauth_callback", :controller => "rails/authorizations", :action => "oauth_callback" end end |