config/routes.rb in opro-0.0.1 vs config/routes.rb in opro-0.0.2
- old
+ new
@@ -1,10 +1,5 @@
-Rails.application.routes.draw do
-
- match 'oauth/new' => 'oauth/auth#new', :as => 'oauth_new'
- match '/oauth/authorize' => 'oauth/auth#authorize', :as => 'oauth_authorize'
- match '/oauth/access_token' => 'oauth/auth#access_token', :as => 'oauth_token'
-
- resources :oauth_docs, :controller => 'oauth/docs'
- resources :oauth_tests, :controller => 'oauth/tests'
- resources :oauth_client_applications, :controller => 'oauth/client_application'
-end
\ No newline at end of file
+# look in lib/opro/rails/routes.rb
+ # they get added to a users config/routes.rb when the user runs
+ # rails g opro:install
+ # this functionality is added in `add_opro_routes` of
+ # lib/generators/opro/install_generator.rb