Update pages_controller.rb

* Converted one character string to char
* Changed hash style