diff --git a/config/routes.rb b/config/routes.rb index 1eb129a21..6f65956f3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,7 @@ Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' + if Rails.env.development? || Rails.env.staging? get '/sandbox' => 'sandbox#index' get '/sandbox/*template' => 'sandbox#show'