May need to define the type of param it is, like in the rest.rb.