Method: ApiResource::Base.new_element_path

Defined in:
lib/api_resource/base.rb

.new_element_path(prefix_options = {}) ⇒ Object



152
153
154
# File 'lib/api_resource/base.rb', line 152

def new_element_path(prefix_options = {})
  "#{prefix(prefix_options)}#{collection_name}/new.#{format.extension}"
end