Module: Baldur::Optional::GoogleAuthHelper

Includes:
RenderHelper
Defined in:
app/helpers/baldur/optional/google_auth_helper.rb

Instance Method Summary collapse

Instance Method Details

#google_sign_in_button(label: 'Sign in with Google', href: nil, block: false, **options) ⇒ Object



6
7
8
9
10
11
12
13
# File 'app/helpers/baldur/optional/google_auth_helper.rb', line 6

def (label: 'Sign in with Google', href: nil, block: false, **options)
  baldur_render 'baldur/optional/google_sign_in_button',
                **{
                  label: label,
                  href: href || Baldur.config.,
                  block: block
                }.merge(options)
end