Toffee is a plugin that gives you automatic controller-less admin
screens for your Rails models. Simply going to the URL /admin/model_name
will bring up an admin screen for that model, allowing you to view,
edit, create and delete records belonging to it.
Also I’ve now added a toffee_list helper, so you can insert a customised
toffee-style list anywhere in your application simply by putting <%=
toffee_list ‘model_name’ %> in your view. Check out the links below:
I have a question though, how can you make this plug-in work just like
in the tutorial but work with existing auth systems?
restful_authentication or AAA for example. We have a standard
before_filter auth check on every controller, but I don’t want
everyone to have access to site.com/model/admin (Even though they
should have access to the regular actions in that controller/model).
Thanks.
I have a question though, how can you make this plug-in work just like
in the tutorial but work with existing auth systems?
restful_authentication or AAA for example. We have a standard
before_filter auth check on every controller, but I don’t want
everyone to have access to site.com/model/admin (Even though they
should have access to the regular actions in that controller/model).
Thanks.