diff --git a/app/views/accounts/_nav_tabs.html.erb b/app/views/accounts/_nav_tabs.html.erb deleted file mode 100644 index 39de1f6..0000000 --- a/app/views/accounts/_nav_tabs.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -
- <%= nav_tabs( - :account, - tab, - overview: account, - ) %> -
diff --git a/app/views/accounts/show.html.erb b/app/views/accounts/show.html.erb index 4dd24df..67b86fb 100644 --- a/app/views/accounts/show.html.erb +++ b/app/views/accounts/show.html.erb @@ -29,8 +29,6 @@
- <%= render partial: 'nav_tabs', locals: { account: @account, - tab: :overview } %>
diff --git a/config/locales/nav_tabs/en.yml b/config/locales/nav_tabs/en.yml index 09d2897..51948cc 100644 --- a/config/locales/nav_tabs/en.yml +++ b/config/locales/nav_tabs/en.yml @@ -1,7 +1,5 @@ en: nav_tabs: - account: - overview: Overview person: overview: Overview person_comments: Comments diff --git a/config/locales/nav_tabs/ru.yml b/config/locales/nav_tabs/ru.yml index d310a5b..09b695b 100644 --- a/config/locales/nav_tabs/ru.yml +++ b/config/locales/nav_tabs/ru.yml @@ -1,7 +1,5 @@ ru: nav_tabs: - account: - overview: Обзор person: overview: Обзор person_comments: Комментарии