Change to action: 'new' / action: 'edit' in pins_controller.rb