versioncake 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module ActionController #:nodoc:
|
|
16
16
|
|
17
17
|
if @requested_version.nil?
|
18
18
|
@derived_version = ActionView::Template::Versions.latest_version
|
19
|
-
elsif ActionView::Template::Versions.supports_version? requested_version
|
19
|
+
elsif ActionView::Template::Versions.supports_version? @requested_version
|
20
20
|
@derived_version = @requested_version
|
21
21
|
elsif requested_version > ActionView::Template::Versions.latest_version
|
22
22
|
raise ActionController::RoutingError.new("No route match for version")
|
data/lib/versioncake/version.rb
CHANGED