Named routes properly in routes.rb file.
Dried up the controller with named route helper methods.