Factor abilities methods
Created by: cirosantilli
in app controller, user model and services.
Same code repeated 3 times.
Same behavior, less lines, and slightly more time efficient since:
- a single
@abilities
is constructed once for the entire app - no more
add_abilities
filter before every action of the app, yay!
Created by: TeatroIO
I've prepared a stage. Click to open.
By Administrator on 2014-10-19T08:52:34 (imported from GitLab project)
Please register or sign in to reply