Refactored action method to only set view template