In my file routes.rb
namespace :admin do resources :albums, except: [:new, :edit, :destroy] resources :conversation_replies, except: [:new, :edit, :destr
It's a text file. It's not generated programmatically, it's meant to be edited by hand. You just delete the line. Open your editor, select the line, and hit the backspace or delete key.