Skip to content

Namespace method #27

@bragi

Description

@bragi

Add namespace method that allows to 'move' representation to another namespace.

Usage is:

- profile.namespace(:administration) do |administration_profile|
  - administration_profile.form do #...

Alternatively:

- profile.namespace(:administration).form do #...

This will create a form that submits to /administration/profiles instead of /profiles.

It should be possible to create namespaced representations for both nested and top level namespaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions