module Write module ApplicationHelper def write_admin? current_user && Write.admin?(current_user.github) end end end