Auto generated images get actions deleted from routes.rb