lib/active_admin/resource/controllers.rb in activeadmin-0.5.1 vs lib/active_admin/resource/controllers.rb in activeadmin-0.6.0

- old
+ new

@@ -11,25 +11,8 @@ # Returns the controller for this config def controller @controller ||= controller_name.constantize end - # Returns the routes prefix for this config - def route_prefix - namespace.module_name.try(:underscore) - end - - # Returns a symbol for the route to use to get to the - # collection of this resource - def route_collection_path - route = [ - route_prefix, - controller.resources_configuration[:self][:route_collection_name], - 'path' - ] - - route.compact.join('_').to_sym - end - end end end