riboseinc / object_path

Generate path or URL for an ActiveRecord object.
MIT License
0 stars 0 forks source link

Code cleanup in ObjectPath::Mixin #2

Open PeterTKY opened 6 years ago

PeterTKY commented 6 years ago

Right now the definition of do_object_path method is messy and the method names in the mixin is confusing. It would be nice if the method can be simplified and the methods in the mixin can be named in a manageable way.