Skip to content

Allow symbols for controller/action pair #70

@ocarreterom

Description

@ocarreterom

According to the docs, controller/action pair can be used with symbols, but its not working.

Controller/Action Pair          -> [[:controller], [:action_a, :action_b]]

The examples shows it should be use as strings:

active_link_to 'User Edit', edit_user_path(@user), active: [['people', 'news'], ['show', 'edit']]

It's confused when you can use [controller: :action], but not [[:controller], [:action]].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions