Better sign up and sign in

This commit is contained in:
2014-09-29 16:11:59 +02:00
parent 7e34e47a99
commit 3b5651de47
9 changed files with 60 additions and 30 deletions
@@ -1,5 +1,6 @@
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
def passthru
send(params[:provider]) and return if available_action?(params[:provider])
show_404
# Or alternatively,
# raise ActionController::RoutingError.new('Not Found')