Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix of reporting of validation failures. (Thanks to Misha and Igor Ar…

…bizu)

[#695 state:resolved]
  • Loading branch information...
commit e7910a4650d9210f04022a291d8165e4c26be156 1 parent f538543
@romul romul authored schof committed
View
2  vendor/plugins/resource_controller/lib/resource_controller/helpers/current_objects.rb
@@ -44,7 +44,7 @@ def object
@object ||= end_of_association_chain.find(param) unless param.nil?
else
# hack by sean to allow permalink objects
- @object = end_of_association_chain.find_by_param!(param)
+ @object ||= end_of_association_chain.find_by_param!(param)
end
@object
#@object ||= end_of_association_chain.find(param) unless param.nil?
Please sign in to comment.
Something went wrong with that request. Please try again.