diff options
Diffstat (limited to 'app/controllers')
50 files changed, 100 insertions, 0 deletions
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index f604540a7..0a16a4cc4 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index a9650a6f0..70e144773 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 885c3a169..785135818 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2f0cfbf58..5b47c60d2 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 552ff9cff..4b8199166 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb index ed0b415e5..144d6d82d 100644 --- a/app/controllers/auth_sources_controller.rb +++ b/app/controllers/auth_sources_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/auto_completes_controller.rb b/app/controllers/auto_completes_controller.rb index 2d707f929..4a59ff46e 100644 --- a/app/controllers/auto_completes_controller.rb +++ b/app/controllers/auto_completes_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index 03ca50c35..669d9f142 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index e07ba2e61..d7269abbd 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index e7974d49e..ab9e70980 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb index bd6977503..526aaa5a6 100644 --- a/app/controllers/context_menus_controller.rb +++ b/app/controllers/context_menus_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/custom_field_enumerations_controller.rb b/app/controllers/custom_field_enumerations_controller.rb index fc186b98d..aadb0af49 100644 --- a/app/controllers/custom_field_enumerations_controller.rb +++ b/app/controllers/custom_field_enumerations_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb index 41d4a7301..4b9d89192 100644 --- a/app/controllers/custom_fields_controller.rb +++ b/app/controllers/custom_fields_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb index 00b6dd9f1..e458d838a 100644 --- a/app/controllers/documents_controller.rb +++ b/app/controllers/documents_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/email_addresses_controller.rb b/app/controllers/email_addresses_controller.rb index 22026254a..ba2334023 100644 --- a/app/controllers/email_addresses_controller.rb +++ b/app/controllers/email_addresses_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb index a04d7b184..7ed59d482 100644 --- a/app/controllers/enumerations_controller.rb +++ b/app/controllers/enumerations_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index bc66c80b0..aa02bbb64 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/gantts_controller.rb b/app/controllers/gantts_controller.rb index 3283282d5..24f9250c5 100644 --- a/app/controllers/gantts_controller.rb +++ b/app/controllers/gantts_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 4379ee39b..a11526595 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb index 3d7e406fa..4fa3f6b4c 100644 --- a/app/controllers/imports_controller.rb +++ b/app/controllers/imports_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/issue_categories_controller.rb b/app/controllers/issue_categories_controller.rb index d635a28f3..85d87a9d0 100644 --- a/app/controllers/issue_categories_controller.rb +++ b/app/controllers/issue_categories_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb index 0bcc8c5e3..f00c0d4dd 100644 --- a/app/controllers/issue_relations_controller.rb +++ b/app/controllers/issue_relations_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index 92c033783..b299a46b2 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 1f037817c..7d9a9ee6e 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb index 7f07b38a8..ade2a5f6a 100644 --- a/app/controllers/journals_controller.rb +++ b/app/controllers/journals_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/mail_handler_controller.rb b/app/controllers/mail_handler_controller.rb index 1942ab1b7..e394a77db 100644 --- a/app/controllers/mail_handler_controller.rb +++ b/app/controllers/mail_handler_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index 1583e9e78..330ef3f48 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 99dda31fd..9cffeea70 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index 72b65e433..9c744533e 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb index 3df9e5e44..1504637f6 100644 --- a/app/controllers/news_controller.rb +++ b/app/controllers/news_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/previews_controller.rb b/app/controllers/previews_controller.rb index 41e6941f9..5382d6902 100644 --- a/app/controllers/previews_controller.rb +++ b/app/controllers/previews_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/principal_memberships_controller.rb b/app/controllers/principal_memberships_controller.rb index 924ecbdf9..68770628f 100644 --- a/app/controllers/principal_memberships_controller.rb +++ b/app/controllers/principal_memberships_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/project_enumerations_controller.rb b/app/controllers/project_enumerations_controller.rb index d9a77f969..55f29b394 100644 --- a/app/controllers/project_enumerations_controller.rb +++ b/app/controllers/project_enumerations_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 1b88e5fc6..09cc0f713 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/queries_controller.rb b/app/controllers/queries_controller.rb index 784dec984..3457a83ab 100644 --- a/app/controllers/queries_controller.rb +++ b/app/controllers/queries_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index a4ea33b6f..688f57323 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 346ecf5c7..5fdac37e9 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index b85c51b62..0022137e7 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 744c3a3cb..37ac37cac 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 9985fa6ea..c1ee94dbc 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/sys_controller.rb b/app/controllers/sys_controller.rb index 35886fc4e..ac5911dba 100644 --- a/app/controllers/sys_controller.rb +++ b/app/controllers/sys_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index f0988fad9..6282fb41b 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb index caf6b1165..4abdb61b6 100644 --- a/app/controllers/trackers_controller.rb +++ b/app/controllers/trackers_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index efc9dce4d..de40797dc 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb index 30fdc9313..800771760 100644 --- a/app/controllers/versions_controller.rb +++ b/app/controllers/versions_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb index 3f080e96b..6fb70a6b6 100644 --- a/app/controllers/watchers_controller.rb +++ b/app/controllers/watchers_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index 341a64df8..3922f6b97 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index c5f7cdc0c..5baff3c6d 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/wikis_controller.rb b/app/controllers/wikis_controller.rb index 2c6a9a7ac..6454ca46b 100644 --- a/app/controllers/wikis_controller.rb +++ b/app/controllers/wikis_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # diff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rb index c831827cb..49a16515d 100644 --- a/app/controllers/workflows_controller.rb +++ b/app/controllers/workflows_controller.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: false + # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang # |