module LinkedRails::RoutingHelper
Public Class Methods
new(entities, api_only, shallow, options = {})
click to toggle source
Calls superclass method
# File lib/linked_rails/routes.rb, line 101 def initialize(entities, api_only, shallow, options = {}) options[:path] ||= entities.to_s.classify.safe_constantize.try(:route_key) super end