method
shallow_path_prefix
rails latest stable - Class:
ActionController::Resources::Resource
shallow_path_prefix()public
No documentation available.
# File actionpack/lib/action_controller/resources.rb, line 93
def shallow_path_prefix
@shallow_path_prefix ||= @options[:shallow] ? @options[:namespace].try(:sub, /\/$/, '') : path_prefix
end