Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 504 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 504 Bytes

Roles On Routes

Roles On Routes was written by Navigating Cancer.

It allows defining user roles for authorization directly on the routes to which they apply.

WARNING:

link_to_with_roles, div_with_roles, li_with_roles, tr_with_roles, td_with_roles, ul_with_roles, and ol_with_roles use JavaScript to hide html after the page has loaded client-side. They should not be used. (See tags_with_roles.rb and gc/app/assets/javascripts/clinic/staff_landing.js.coffee.)

Running Tests

bundle exec rspec