Cancel link

Use the following link in a new and edit view:

link_to 'Cancel', @cat