Sha256: 396b8c2a9b40fabd77c2c0fc7cb95294a34f7dd39af412723bd89f13af5aa8e0

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

module PopoloHelper
  # @note inherited_resources sets incorrect arguments for glob routes.
  # @see https://github.com/josevalim/inherited_resources/blob/master/lib/inherited_resources/url_helpers.rb
  def nested_resources_path(*args)
    send("nested_#{resource_collection_name}_path", *args)
  end
  def nested_resource_path(*args)
    send("nested_#{resource_instance_name}_path", *args)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
popolo-0.0.2 app/helpers/popolo_helper.rb
popolo-0.0.1 app/helpers/popolo_helper.rb