summaryrefslogtreecommitdiffstats
path: root/app/helpers/settings_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/settings_helper.rb')
-rw-r--r--app/helpers/settings_helper.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index f53314c40..f4ec5a7a7 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -16,4 +16,12 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
module SettingsHelper
+ def administration_settings_tabs
+ tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general},
+ {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication},
+ {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking},
+ {:name => 'notifications', :partial => 'settings/notifications', :label => l(:field_mail_notification)},
+ {:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural}
+ ]
+ end
end