Jasminerice::Engine.routes.draw do
  resources :spec, :controller => 'spec', :only => [:index] do
    get "fixtures/:filename", :action => :fixtures
  end
  match "fixtures/:filename", :to => "spec#fixtures#:filename"

  root :to => "spec#index"
end

Rails.application.routes.draw do
  mount Jasminerice::Engine => "/jasmine"
end

Jasminerice::Engine.routes.draw do
  resources :spec, :controller => 'spec', :only => [:index] do
    get "fixtures/*filename", :action => :fixtures
  end
  match "fixtures/*filename", :to => "spec#fixtures"

  root :to => "spec#index"
end

Rails.application.routes.draw do
  mount Jasminerice::Engine => "/jasmine"
end

Allow routing to fixtures that are in subfolders (e.g. spec/fixtures/subfolder/fixture.html.haml)
Allow routing to fixtures that are in subfolders (e.g. spec/fixtures/subfolder/fixture.html.haml)
