comfy / comfy/active_link_to

Allow symbols for controller/action pair

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
853
Forks
84
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.