Add pattern permitted params

Redundant curly braces around a hash parameter.<br>Use the new Ruby 1.9 hash syntax.