update record problem

i got error ActiveRecord::RecordNotFound in AdminsController#update

Couldn't find Admin with ID=cateupdate

i have pro_categories table edit file display record but when i press update i give me above error

in a restful world when you add actions you need to add them to your routes file (see the :member and :collection options to map.resources)


Frederick Cheung wrote: