summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-26 00:07:40 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-03 09:18:46 +0200
commit2e9f5de86896e53e9cf34aef52bbc2ad08019a21 (patch)
tree48c469b4e8a9f4596f978a2602e4d3b5cfbece86 /app/helpers/tab_helper.rb
parenta3d90c5045ae322a013484165cdebcd764dc5d69 (diff)
downloadgitlab-ce-2e9f5de86896e53e9cf34aef52bbc2ad08019a21.tar.gz
Add parenthesis to function def with arguments.
Diffstat (limited to 'app/helpers/tab_helper.rb')
-rw-r--r--app/helpers/tab_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb
index 610175f8447..bc43e078568 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -89,7 +89,7 @@ module TabHelper
end
# Use nav_tab for save controller/action but different params
- def nav_tab key, value, &block
+ def nav_tab(key, value, &block)
o = {}
o[:class] = ""