Refactor 328 to use before_action, also remove <%==.