Permalink
Browse files

update files

  • Loading branch information...
Ryan Sonnek
Ryan Sonnek committed Oct 13, 2011
1 parent bfc6021 commit 8cd41db19366a2332889dcdb64d5034c9cd7c4d5
View
@@ -28,23 +28,7 @@ test/*.sqlite3
# git files
*.orig
-# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
-#
-# * Create a file at ~/.gitignore
-# * Include files you want ignored
-# * Run: git config --global core.excludesfile ~/.gitignore
-#
-# After doing this, these files will be ignored in all your git projects,
-# saving you from having to 'pollute' every project you touch with them
-#
-# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
-#
-# For TextMate
-#*.tmproj
-#tmtags
-#
-# For emacs:
-#*~
-#\#*
-#.\#*
-
+# rails files
+tmp
+log
+*.log
View
@@ -1,10 +1,7 @@
Devise::Oauth2Providable::Engine.routes.draw do
+ root :to => "authorizations#new"
+
resources :authorizations, :only => :create
+ match 'authorize' => 'authorizations#new'
resource :token, :only => :create
-
- # scope '/oauth2', :as => 'oauth2' do
- # resources :authorizations, :controller => 'oauth2/authorizations', :only => :create
- # match 'authorize' => 'oauth2/authorizations#new'
- # resource :token, :controller => 'oauth2/tokens', :only => :create
- # end
end
@@ -6,7 +6,6 @@ class Engine < Rails::Engine
initializer "devise_oauth2_providable.initialize_application" do |app|
app.config.filter_parameters << :client_secret
end
- end
+ end
end
end
-
@@ -1,3 +1,6 @@
Rails.application.routes.draw do
+ devise_for :users
+ resources :protected
+
mount Devise::Oauth2Providable::Engine => "/oauth2"
end
@@ -1,152 +0,0 @@
-
-
-Started GET "/kudos" for 127.0.0.1 at Thu Oct 13 15:48:09 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/kudos"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
-
-
-Started GET "/" for 127.0.0.1 at Thu Oct 13 15:48:09 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oaut" for 127.0.0.1 at Thu Oct 13 15:48:12 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oaut"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
-
-
-Started GET "/oauth2" for 127.0.0.1 at Thu Oct 13 15:48:12 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/" for 127.0.0.1 at Thu Oct 13 15:48:12 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/au" for 127.0.0.1 at Thu Oct 13 15:48:16 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/au"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
-
-
-Started GET "/oauth2/authorize" for 127.0.0.1 at Thu Oct 13 15:48:17 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/authorize"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
-
-
-Started GET "/kudos" for 127.0.0.1 at Thu Oct 13 15:58:41 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/kudos"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.7ms)
-
-
-Started GET "/" for 127.0.0.1 at Thu Oct 13 15:58:41 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth" for 127.0.0.1 at Thu Oct 13 15:58:42 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/" for 127.0.0.1 at Thu Oct 13 15:58:43 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/aut" for 127.0.0.1 at Thu Oct 13 15:58:44 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/aut"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/author" for 127.0.0.1 at Thu Oct 13 15:58:44 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/author"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/authorize" for 127.0.0.1 at Thu Oct 13 15:58:45 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/authorize"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (58.7ms)
-
-
-Started GET "/oauth2/" for 127.0.0.1 at Thu Oct 13 15:58:59 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
-
-
-Started GET "/oauth2" for 127.0.0.1 at Thu Oct 13 15:58:59 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2" for 127.0.0.1 at Thu Oct 13 15:59:11 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
-
-
-Started GET "/oauth2" for 127.0.0.1 at Thu Oct 13 15:59:21 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
-
-
-Started GET "/oauth2/authorize" for 127.0.0.1 at Thu Oct 13 15:59:22 -0500 2011
-
-ActionController::RoutingError (No route matches [GET] "/oauth2/authorize"):
-
-
-Rendered /Users/ryan/Projects/devise_oauth2_providable/devise/ruby/1.8/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
View
No changes.

0 comments on commit 8cd41db

Please sign in to comment.