-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
Capybara.app = Rack::Builder.new do | ||
map "/" do | ||
if Rails.version.to_f >= 3.0 | ||
ActionDispatch::Static | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gmoeck
|
||
use ActionDispatch::Static | ||
run Rails.application | ||
else # Rails 2 | ||
use Rails::Rack::Static | ||
|
Not sure why, but this change breaks my Rails 3 system only when including Jose Valim's inherited_resources. See http://github.com/josevalim/inherited_resources/issues/closed#issue/58