mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-24 08:04:08 +01:00
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:
parent
69ab625c70
commit
48d9e49482
29 changed files with 1732 additions and 3 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue