Module: Card::Set::Right::Account::Views::Format
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb
Instance Method Summary collapse
-
#view: closure ⇒ Object
-
#view: reset_password_days ⇒ Object
-
#view: reset_password_url ⇒ Object
-
#view: token_days ⇒ Object
-
#view: token_expiry ⇒ Object
-
#view: verify_days ⇒ Object
DEPRECATED.
-
#view: verify_url ⇒ Object
Instance Method Details
#view: closure ⇒ Object
29 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 29 view :closure, perms: :delete, template: :haml, wrap: :slot |
#view: reset_password_days ⇒ Object
27 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 27 view :reset_password_days, :token_days |
#view: reset_password_url ⇒ Object
13 14 15 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 13 view :reset_password_url, denial: :blank, perms: :reset_password_ok? do token_url :reset_password end |
#view: token_days ⇒ Object
21 22 23 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 21 view :token_days, denial: :blank do Card.config.token_expiry / 1.day end |
#view: token_expiry ⇒ Object
17 18 19 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 17 view :token_expiry, denial: :blank do "(#{token_expiry_sentence}" end |
#view: verify_days ⇒ Object
DEPRECATED
26 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 26 view :verify_days, :token_days |
#view: verify_url ⇒ Object
9 10 11 |
# File 'platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb', line 9 view :verify_url, cache: :never, denial: :blank, perms: :verify_url_ok? do token_url :verify_and_activate, anonymous: true end |