diff options
| author | Michel Etienne | 2012-07-12 08:05:29 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-07-12 08:05:29 +0200 |
| commit | 5d5b68ca584111f37b5843cd69cfbbbd3dbda356 (patch) | |
| tree | 3386eb88e33031bc3ea6588d60abe0a28fa8798f /config | |
| parent | 150b79cff9c24cbaab8cfd87f3c640b4f5fdf51b (diff) | |
| parent | b26ece76b66cca7d773d2a906dba67907398a329 (diff) | |
| download | chouette-core-5d5b68ca584111f37b5843cd69cfbbbd3dbda356.tar.bz2 | |
Merge branch 'master' of chouette.dryade.priv:/srv/git/chouette2
Diffstat (limited to 'config')
| -rw-r--r-- | config/application.rb | 2 | ||||
| -rw-r--r-- | config/environments/production.rb | 3 | ||||
| -rw-r--r-- | config/locales/referentials.yml | 2 | ||||
| -rw-r--r-- | config/locales/stop_areas.yml | 4 | ||||
| -rw-r--r-- | config/routes.rb | 3 |
5 files changed, 10 insertions, 4 deletions
diff --git a/config/application.rb b/config/application.rb index a5efb4799..837542855 100644 --- a/config/application.rb +++ b/config/application.rb @@ -32,7 +32,7 @@ module ChouetteIhm # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. - # config.time_zone = 'Central Time (US & Canada)' + config.time_zone = "Paris" # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] diff --git a/config/environments/production.rb b/config/environments/production.rb index b3e0c7ce0..d6433e201 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -53,7 +53,8 @@ ChouetteIhm::Application.configure do # config.action_mailer.raise_delivery_errors = false # Enable threaded mode - # config.threadsafe! + # NOTICE : With Rails 3.2, Delayed::JRubyWorker blocks the application without threaded mode + config.threadsafe! # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation can not be found) diff --git a/config/locales/referentials.yml b/config/locales/referentials.yml index da0eda2d1..c5f4cdbd9 100644 --- a/config/locales/referentials.yml +++ b/config/locales/referentials.yml @@ -45,7 +45,6 @@ en: referential: slug: only lowercase alphanumerical or underscore characters prefix: only alphanumerical or underscore characters - projection_type: "see SRID codes on http://spatialreference.org" fr: referentials: @@ -94,4 +93,3 @@ fr: referential: slug: "caractères autorisés : alphanumériques minuscules et 'souligné'" prefix: "caractères autorisés : alphanumériques et 'souligné'" - projection_type: "voir http://spatialreference.org pour les codes SRID" diff --git a/config/locales/stop_areas.yml b/config/locales/stop_areas.yml index 2aeb158db..2d920435d 100644 --- a/config/locales/stop_areas.yml +++ b/config/locales/stop_areas.yml @@ -1,5 +1,6 @@ en: stop_areas: + default_geometry_success: "%{count} modified stop areas" stop_area: no_position: No Position lines: "Lines :" @@ -12,6 +13,7 @@ en: add_children: Manage Children add_routing_lines: "Manage constraint's lines" add_routing_stops: "Manage constraint's stops" + default_geometry: "Compute missing geometries" new: title: Add a new stop edit: @@ -74,6 +76,7 @@ en: fr: stop_areas: + default_geometry_success: "%{count} arrêts modifiés" stop_area: no_position: Pas de position lines: "Lignes :" @@ -86,6 +89,7 @@ fr: add_children: Gérer les fils add_routing_lines: "Gérer les lignes de l'ITL" add_routing_stops: "Gérer les arrêts de l'ITL" + default_geometry: "Calculer les géométries manquantes" new: title: Ajouter un arrêt edit: diff --git a/config/routes.rb b/config/routes.rb index 3b2dd80de..2d2b7ba81 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -66,6 +66,9 @@ ChouetteIhm::Application.routes.draw do get 'add_routing_lines' get 'add_routing_stops' end + collection do + put 'default_geometry' + end end resources :connection_links do |
