From 10e638f9701d27b0cf7dd374d6d27d292d167ef7 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 18 Jul 2019 23:20:08 +0500 Subject: [PATCH] Remove unnecessary nav tabs --- app/views/accounts/_nav_tabs.html.erb | 7 ------- app/views/accounts/show.html.erb | 2 -- config/locales/nav_tabs/en.yml | 2 -- config/locales/nav_tabs/ru.yml | 2 -- 4 files changed, 13 deletions(-) delete mode 100644 app/views/accounts/_nav_tabs.html.erb 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: Комментарии