The path option will actually set the path and not the prefix I have found
in Rails 3.0.5.
resources :my_reports, :path => 'my-reports'
All actions for this resource
will now be at /my-reports.
I had to add “self.inheritance_column” as opposed to simply
“inheritance_column” to get this to work.
class MyModel < ActiveRecord::Base
# disable STI
self.inheritance_column = :_type_disabled
APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at
APIdock copyright Nodeta Oy 2008-2015
Check out how the team behind APIdock connects Pivotal Tracker, GitHub and group chat to one workflow.