Skip to content

Allow symbols for controller/action pair #70

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]].

Activity

  1. changed the title [-]Allow symbols for controller/actions pair[/-] [+]Allow symbols for controller/action pair[/+] on Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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