lib/generators/templates/controllers/auth/omniauth_callbacks_controller.rb in headmin-0.3.2 vs lib/generators/templates/controllers/auth/omniauth_callbacks_controller.rb in headmin-0.3.3
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
class Auth::OmniauthCallbacksController < Devise::OmniauthCallbacksController
- layout 'auth'
+ layout "auth"
# You should configure your model like this:
# devise :omniauthable, omniauth_providers: [:twitter]
# You should also create an action method in this controller like this:
# def twitter