app/controllers/concerns/orderable.rb in apicasso-0.4.11 vs app/controllers/concerns/orderable.rb in apicasso-0.5.0

- old
+ new

@@ -38,8 +38,8 @@ def parse_sign(attr) attr.match(/\A[+-]/).nil? ? '+': attr.slice!(0) end def model - (params[:nested] || params[:resource] || controller_name).classify.constantize + representative_resource.classify.constantize end end