Skip to content

Commit

Permalink
Merge 858f6da into a530463
Browse files Browse the repository at this point in the history
  • Loading branch information
untidy-hair committed Apr 26, 2016
2 parents a530463 + 858f6da commit 16804d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/versioncake/controller_additions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def check_version!(override_version=nil)
return unless version_context

check_for_version_errors!(version_context.result)
configure_rails_view_versioning(version_context)
configure_rails_view_versioning(version_context) if @_lookup_context.respond_to?(:versions)
end

def check_for_version_errors!(result)
Expand Down

0 comments on commit 16804d7

Please sign in to comment.