about summary refs log tree commit diff
path: root/app/helpers/application_helper.rb
blob: 29c2c912028ca13f6fbccd39d137c5880ed5bc90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ApplicationHelper
  def active_nav_class(path)
    current_page?(path) ? 'active' : ''
  end

  def id_paginate(path, per_page, collection)
  	# todo
  end
end