lib/trust/controller/properties.rb in trust-0.5.0 vs lib/trust/controller/properties.rb in trust-0.5.1
- old
+ new
@@ -68,10 +68,10 @@
#
# # name spaced models
# model :"customer/account"
#
def model(name = nil)
- @model = name if name
+ @model = name.to_s if name
@model
end
# Returns the class for the model
def model_class