diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 18:38:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-05 18:38:42 +0000 |
commit | 8509cf80f009436e900294acc821295f21e3b142 (patch) | |
tree | 37095d100c500b27cb2249dc3b7ece1198434637 /config | |
parent | 26a1ae4808368128f2cc8b348528506f358dab15 (diff) | |
download | redmine-8509cf80f009436e900294acc821295f21e3b142.tar.gz redmine-8509cf80f009436e900294acc821295f21e3b142.zip |
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index
git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 5 | ||||
-rw-r--r-- | config/routes.rb | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index c7e0e47a9..69d469282 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -77,7 +77,10 @@ ActiveRecord::Errors.default_error_messages = { } ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" } - + +Mime::Type.register 'text/csv', :csv +Mime::Type.register 'application/pdf', :pdf + GLoc.set_config :default_language => :en GLoc.clear_strings GLoc.set_kcode diff --git a/config/routes.rb b/config/routes.rb index bb61b4c0f..3b4767a33 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,6 +14,7 @@ ActionController::Routing::Routes.draw do |map| #map.connect ':controller/:action/:id/:sort_key/:sort_order' map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations' + map.connect 'projects/:project_id/issues/:action', :controller => 'issues' map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards' map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages' |