Add before_action to discussions controller