Replaced before_filter with before_action in list_controller.rb