path.rb changed for edit page