3 lines
121 B
Plaintext
3 lines
121 B
Plaintext
- if policy(model).index?
|
|
li = link_to(model.model_name.human(count: 2), send(:"#{model.model_name.collection}_path"))
|