summaryrefslogtreecommitdiffstats
path: root/app/helpers/calendars_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-14 19:56:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-14 19:56:23 +0000
commite43df591680931d5c9698e93bc3e949ad3f4bc66 (patch)
tree256048279071b3ad22fb75909699d46981ccd594 /app/helpers/calendars_helper.rb
parentf1fec5eee0b533eb3982ac086eb5faad1db023d8 (diff)
downloadredmine-e43df591680931d5c9698e93bc3e949ad3f4bc66.tar.gz
redmine-e43df591680931d5c9698e93bc3e949ad3f4bc66.zip
Added encoding comment to helpers (#9792).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/calendars_helper.rb')
-rw-r--r--app/helpers/calendars_helper.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index b32301fa7..71c05b2c2 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -1,3 +1,22 @@
+# encoding: utf-8
+#
+# Redmine - project management software
+# Copyright (C) 2006-2011 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
module CalendarsHelper
def link_to_previous_month(year, month, options={})
target_year, target_month = if month == 1