提交 6369d23d 编写于 作者: R Robert Speicher

Fix nav and layout for TwoFactorAuthsController

上级 c891ef93
class Profiles::TwoFactorAuthsController < ApplicationController
class Profiles::TwoFactorAuthsController < Profiles::ApplicationController
def new
unless current_user.otp_secret
current_user.otp_secret = User.generate_otp_secret
......
......@@ -4,7 +4,7 @@
= icon('user fw')
%span
Profile
= nav_link(controller: :accounts) do
= nav_link(controller: [:accounts, :two_factor_auths]) do
= link_to profile_account_path, title: 'Account', data: {placement: 'right'} do
= icon('gear fw')
%span
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册