Rails admin - Customization

810 views
Skip to first unread message

Ruby Developer

unread,
Jan 21, 2014, 2:11:46 AM1/21/14
to rails...@googlegroups.com
Recently I started using Rails Admin for creating admin panel for my project. The UI for rails admin is very nice and it gives a good user experience also. I had some concerns with customizing rails admin like overriding the controller action and using custom views. For instance, suppose I need to clone a record and use it for edit action. Is it possible?
Can we use custom views or forms?
Thanks in Advance.

Steph Skardal

unread,
Jan 21, 2014, 8:52:52 AM1/21/14
to rails...@googlegroups.com
Hi,

You'll want to look into the github documentation for the plugin - see https://github.com/sferik/rails_admin/wiki/Custom-action for custom actions which would work for cloning. Customizing views is standard per Rails gems - copy the file from the gem into your Rails app and make edits there. I haven't done a lot with overriding controllers, but it might be in the docs somewhere (https://github.com/sferik/rails_admin/wiki).

Steph


--
You received this message because you are subscribed to the Google Groups "rails_admin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rails_admin...@googlegroups.com.
To post to this group, send email to rails...@googlegroups.com.
Visit this group at http://groups.google.com/group/rails_admin.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages