# frozen_string_literal: true module ApplicationHelper def is_active(action) params[:action] == action ? "current" : nil end end