diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-25 23:34:26 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-26 16:32:25 -0400 |
commit | b62d6a1fe28ad040e96fd88604131f357e5e6e9e (patch) | |
tree | e9acc8f39ae6bb6c783c31cee33e4427d613ff2e /app/helpers/tab_helper.rb | |
parent | 86a7864dc78ed9168df889a5994ee7ef80a29476 (diff) | |
download | gitlab-ce-b62d6a1fe28ad040e96fd88604131f357e5e6e9e.tar.gz |
Remove commit_tab_class helper
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r-- | app/helpers/tab_helper.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb index 9491e277a02..c26e3467511 100644 --- a/app/helpers/tab_helper.rb +++ b/app/helpers/tab_helper.rb @@ -51,12 +51,6 @@ module TabHelper end end - def commit_tab_class - if ['commits', 'repositories', 'protected_branches'].include? controller.controller_name - "active" - end - end - def branches_tab_class if current_page?(branches_project_repository_path(@project)) || controller.controller_name == "protected_branches" || |