2016-11-15 09:56:29 -06:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-02-20 15:53:20 -06:00
|
|
|
module ApplicationHelper
|
2016-03-12 12:46:06 -06:00
|
|
|
def active_nav_class(path)
|
|
|
|
current_page?(path) ? 'active' : ''
|
|
|
|
end
|
2016-12-01 09:26:25 -06:00
|
|
|
|
|
|
|
def id_paginate(path, per_page, collection)
|
|
|
|
# todo
|
|
|
|
end
|
2016-02-20 15:53:20 -06:00
|
|
|
end
|