app/views/layouts/settings.html.haml in iugusdk-1.0.0.alpha.1 vs app/views/layouts/settings.html.haml in iugusdk-1.0.0.alpha.2
- old
+ new
@@ -31,10 +31,10 @@
= content_tag :div, msg, :id => "flash_#{name}" if msg.is_a?(String)
= link_to I18n.t("iugu.profile"), profile_settings_path
= ' | '
- - if IuguSDK::allow_create_account == false && current_user.accounts.count <= 1
+ - if IuguSDK::enable_multiple_accounts == false && current_user.accounts.count <= 1
= link_to I18n.t("iugu.account"), account_view_path
- else
= link_to I18n.t("iugu.accounts"), account_settings_path
= yield()