for 1 line checks you can use shorthand syntax:
````
   <%= current_page?(root_url) ? 'active' : '' %>
````