how to delete a line in file routes.rb ruby on rails

前端 未结 1 1406
时光取名叫无心
时光取名叫无心 2021-01-29 16:37

In my file routes.rb

namespace :admin do
    resources :albums, except: [:new, :edit, :destroy]
    resources :conversation_replies, except: [:new, :edit, :destr         


        
相关标签:
1条回答
  • 2021-01-29 17:07

    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.

    0 讨论(0)
提交回复
热议问题