Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow symbols for controller/action pair #70

Open
ocarreterom opened this issue Mar 24, 2023 · 0 comments
Open

Allow symbols for controller/action pair #70

ocarreterom opened this issue Mar 24, 2023 · 0 comments

Comments

@ocarreterom
Copy link

ocarreterom commented Mar 24, 2023

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

@ocarreterom ocarreterom changed the title Allow symbols for controller/actions pair Allow symbols for controller/action pair Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant