app/helpers/alchemy/custom/model/admin/base_helper.rb in alchemy-custom-model-3.0.0 vs app/helpers/alchemy/custom/model/admin/base_helper.rb in alchemy-custom-model-3.1.0
- old
+ new
@@ -390,10 +390,10 @@
end
def order_path(obj = nil, options = {})
if obj.nil?
- new_polymorphic_path([:admin, base_class.to_s.pluralize.underscore, :order])
+ new_polymorphic_path([:admin, base_class.to_s.pluralize.underscore.to_sym, :order])
else
new_polymorphic_path([:admin, obj, :order])
end
end
\ No newline at end of file