diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-18 11:15:30 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-18 17:15:30 +0200 |
commit | 84b5fae8e37b9c1b3766efc047993c69ea046ae3 (patch) | |
tree | 13451fed7e9d82750cfce45b269a06d81fc637e9 /app/views/settings | |
parent | d90b1650d805f4cede5cff255530aa3fb4429864 (diff) |
Simplify renders in views (#2084)
* Simplify render in mailer views * Simplify render in about/more view * Simplify render in accounts follow views * Simplify render in recovery code views * Simplify render in stream entry embed * Simplify render in stream entries status partial * Simplify render in authorize follow new view
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/two_factor_auths/create.html.haml | 2 | ||||
-rw-r--r-- | app/views/settings/two_factor_auths/recovery_codes.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/two_factor_auths/create.html.haml b/app/views/settings/two_factor_auths/create.html.haml index 138a930fd..aaeebaf2e 100644 --- a/app/views/settings/two_factor_auths/create.html.haml +++ b/app/views/settings/two_factor_auths/create.html.haml @@ -1,4 +1,4 @@ - content_for :page_title do = t('settings.two_factor_auth') -= render partial: 'recovery_codes', object: @codes += render 'recovery_codes', recovery_codes: @codes diff --git a/app/views/settings/two_factor_auths/recovery_codes.html.haml b/app/views/settings/two_factor_auths/recovery_codes.html.haml index 138a930fd..aaeebaf2e 100644 --- a/app/views/settings/two_factor_auths/recovery_codes.html.haml +++ b/app/views/settings/two_factor_auths/recovery_codes.html.haml @@ -1,4 +1,4 @@ - content_for :page_title do = t('settings.two_factor_auth') -= render partial: 'recovery_codes', object: @codes += render 'recovery_codes', recovery_codes: @codes |