test/dummy/config/routes.rb in extface-0.1.0 vs test/dummy/config/routes.rb in extface-0.1.1
- old
+ new
@@ -1,7 +1,9 @@
Rails.application.routes.draw do
mount Extface::Engine => "/shop_extface"
resources :shops do
- extface_for :shop
+ unless Rails.env.development?
+ extface_for :shop
+ end
end
end