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

jquery - Invalid Assignment Left-Hand Side -

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

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -