Update articles_controller.rb

Lesser use of local variables.