Closed mlt closed 7 years ago
@controller.policy(r) works alright for pundit and buttons
It would be nice to mention it in the readme though...
@mlt Thanks! Want to submit a PR to include it in the README?
It seems that @controller
is inaccessible from custom filter. Is it possible to make controller / session store accessible from filter block in data proxy?
I have a certain validity period for records and I want to show active record with a respect to "now" that user can alter.
Hi! I'm curious if there is a way to define buttons conditionally and/or set html attributes (disabled class) while defining data. It seems that I can't access my current_user or policy from Tabulatr::Data derived class. I started SO question as well.