diff options
| author | Zog | 2018-01-22 21:11:28 +0100 | 
|---|---|---|
| committer | Zog | 2018-02-09 10:21:45 +0100 | 
| commit | 590ff858cf0fe71b420f8a59d393319e190f68aa (patch) | |
| tree | d22adbd74f7d0683c07022cb013eec8eb9df922e /config/routes.rb | |
| parent | 8b6e358e3e59c507eac738a38b54f45a133164cc (diff) | |
| download | chouette-core-590ff858cf0fe71b420f8a59d393319e190f68aa.tar.bz2 | |
Refs #5669; Add a preview for snapshots for easier debugging
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/config/routes.rb b/config/routes.rb index 5fc39ba92..2715ca428 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -241,6 +241,10 @@ ChouetteIhm::Application.routes.draw do    root :to => "dashboards#show" +  if Rails.env.development? || Rails.env.test? +    get "/snap" => "snapshots#show" +  end +    get '/help/(*slug)' => 'help#show'    if Rails.application.config.development_toolbar | 
