Added param.require line to pins.controller.rb file