]> source.dussan.org Git - redmine.git/commitdiff
fix closing array brace position in UsersHelper#user_settings_tabs
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 5 Jul 2020 15:03:27 +0000 (15:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 5 Jul 2020 15:03:27 +0000 (15:03 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19859 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/users_helper.rb

index e773b9eeee20d1c3246f1dddb9959db75dd55c3a..1f5841199a840cebed838feeeb31466d7a741b35 100644 (file)
@@ -67,9 +67,11 @@ module UsersHelper
   end
 
   def user_settings_tabs
-    tabs = [{:name => 'general', :partial => 'users/general', :label => :label_general},
-            {:name => 'memberships', :partial => 'users/memberships', :label => :label_project_plural}
-            ]
+    tabs =
+      [
+        {:name => 'general', :partial => 'users/general', :label => :label_general},
+        {:name => 'memberships', :partial => 'users/memberships', :label => :label_project_plural}
+      ]
     if Group.givable.any?
       tabs.insert 1, {:name => 'groups', :partial => 'users/groups', :label => :label_group_plural}
     end