install translate from https://github.com/newsdesk/translate for non-production use

access /translate to view and edit i18n translations
This commit is contained in:
Reinier Balt 2011-02-13 13:06:10 +01:00
parent 69ab625c70
commit 48d9e49482
29 changed files with 1732 additions and 3 deletions

View file

@ -79,9 +79,8 @@ ActionController::Routing::Routes.draw do |map|
map.search 'search', :controller => 'search', :action => 'index'
map.data 'data', :controller => 'data', :action => 'index'
if Rails.env == 'test'
map.connect '/selenium_helper/login', :controller => 'selenium_helper', :action => 'login'
end
map.connect '/selenium_helper/login', :controller => 'selenium_helper', :action => 'login' if Rails.env == 'test'
Translate::Routes.translation_ui(map) if Rails.env != "production"
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id'