From 10dcda604c6c7e86232d64f181f77c4d9cf920c3 Mon Sep 17 00:00:00 2001 From: Dmitry Yu Okunev Date: Fri, 27 Mar 2015 22:44:41 +0300 Subject: [PATCH 1/2] Fixed error 500 for recent Redmine & Rails --- config/routes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index c547eac..f47932a 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,7 +1,7 @@ # Plugin's routes # See: http://guides.rubyonrails.org/routing.html -match '404', :to => 'us_errors#error_404' -match '500', :to => 'us_errors#error_500' +get '404', :to => 'us_errors#error_404' +get '500', :to => 'us_errors#error_500' # get '422', :to => 'us_errors#error_422' get 'users/:id/edit_usability_preferences', :controller => 'users', :action => 'edit_usability_preferences', :id => /\d+/ @@ -12,4 +12,4 @@ get 'easy_perplex', controller: :easy_perplex, action: :easy_perplex get 'easy_perplex_actions(/:user_id)', controller: :easy_perplex, action: :easy_perplex_actions, user_id: /\d+/ -get 'attachments/download/all/:id', controller: :attachments, action: :download_all \ No newline at end of file +get 'attachments/download/all/:id', controller: :attachments, action: :download_all From cd12a81c673c96c94d3c739170ae4b307b60a553 Mon Sep 17 00:00:00 2001 From: Dmitry Yu Okunev Date: Thu, 9 Jul 2015 19:46:23 +0300 Subject: [PATCH 2/2] =?UTF-8?q?Fixed=20a=20typo:=20s/=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D1=82=D1=8F=D1=82=D1=8C=D1=81=D1=8F/=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D1=82=D0=B8=D1=82=D1=8C=D1=81=D1=8F/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/locales/ru.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 050e585..4477afe 100755 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -90,7 +90,7 @@ ru: label_usability_settings_replace_login_page: "Заменить страницу входа в систему" label_usability_close: 'Закрыть' - label_ask_for: "Вы можете обратяться к" + label_ask_for: "Вы можете обратиться к" info_custom_help_url: "Подменяет ссылку помощи с redmine.org на свою страницу. Для использования wiki странички из проекта ссылка должна быть вида: ../../../../projects/project_identifier/wiki/wiki_page_name" info_default_page: "После входа пользователь перенаправляется на страницу по умолчанию. Можно заменить любым ресурсом в Redmine, заданным относительной ссылкой, например: /my/page, /issues и т.п." field_email: "e-mail"