rails 5 routes for edit and update example Example: rails resources only resources :controller_name, only: [:create, :new]