# File lib/generators/oauth_provider/oauth_provider_generator.rb, line 27
  def add_routes
    route "match '/oauth',               :to => 'oauth#index',         :as => :oauth"
    route "match '/oauth/authorize',     :to => 'oauth#authorize',     :as => :authorize"
    route "match '/oauth/request_token', :to => 'oauth#request_token', :as => :request_token"
    route "match '/oauth/access_token',  :to => 'oauth#access_token',  :as => :access_token"
    route "match '/oauth/token',         :to => 'oauth#token',         :as => :token"
    route "match '/oauth/test_request',  :to => 'oauth#test_request',  :as => :test_request"

    route "resources :#{file_name}_clients"
  end