Construct an app-level path.
@param <Symbol> The type of component. @param *segments
@return <String>
A path within the host application, with added segments.
# File lib/generators/templates/full/app/helpers/application_helper.rb, line 47 def app_path_for(type, *segments) ::<% module_name %>.app_path_for(type, *segments) end # Construct a slice-level path. # # @param <Symbol> The type of component. # @param *segments<Array[#to_s]> Path segments to append. # # @return <String> # A path within the slice source (Gem), with added segments. def slice_path_for(type, *segments) ::<%= module_name %>.slice_path_for(type, *segments) end
Generated with the Darkfish Rdoc Generator 2.