Add pattern permitted params

Redundant curly braces around a hash parameter.<br>Use the new Ruby 1.9 hash syntax.<br>Line is too long. [95/80]