summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-21 16:38:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-21 16:38:29 +0000
commit3036eaba5238e68381dcfdbcdfc99c4c7e7c795a (patch)
tree493dc876ea7be7a3a6431dbf4e82ab553317fbbe /app/helpers
parent15c7066ddefdc684cb3132a68e2ecf70296eefcf (diff)
downloadredmine-3036eaba5238e68381dcfdbcdfc99c4c7e7c795a.tar.gz
redmine-3036eaba5238e68381dcfdbcdfc99c4c7e7c795a.zip
Replace tabs with spaces and remove trailing tabs in several files (#20140).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/issues_helper.rb2
-rw-r--r--app/helpers/settings_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 753f0fd43..d803df0cc 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -249,7 +249,7 @@ module IssuesHelper
issues = [issues] unless issues.is_a?(Array)
message = l(:text_issues_destroy_confirmation)
- descendant_count = issues_descendant_count(issues)
+ descendant_count = issues_descendant_count(issues)
if descendant_count > 0
message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
end
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 5c747f0d2..17a4f49af 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -158,7 +158,7 @@ module SettingsHelper
options.map {|label, value| [l(label), value.to_s]}
end
- # Returns the options for the date_format setting
+ # Returns the options for the date_format setting
def date_format_setting_options(locale)
Setting::DATE_FORMATS.map do |f|
today = ::I18n.l(Date.today, :locale => locale, :format => f)