config/routes.rb in jasminerice-0.0.8 vs config/routes.rb in jasminerice-0.0.9
- old
+ new
@@ -1,14 +1,12 @@
Jasminerice::Engine.routes.draw do
resources :spec, :controller => 'spec', :only => [:index] do
- get "fixtures/:filename", :action => :fixtures
+ get "fixtures/*filename", :action => :fixtures
end
- match "fixtures/:filename", :to => "spec#fixtures#:filename"
+ match "fixtures/*filename", :to => "spec#fixtures"
root :to => "spec#index"
end
Rails.application.routes.draw do
- if Jasminerice.environments.include? Rails.env
- mount Jasminerice::Engine => "/jasmine"
- end
+ mount Jasminerice::Engine => "/jasmine"
end