ruby on rails - Hiding Edit button in active scaffold without excluding the update action -


i want hide edit button without excluding :update action. creating custom edit button shown depending on condition record, using inbuilt edit functionality. excluding action, removes capability use edit in custom area. please suggest

after generated controller (including :update action), remove button app/views/<controller>/<page>.html.erb file(s).

note: in these same files can add custom button when finished.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -