Module: NavHelper

Defined in:
app/helpers/nav_helper.rb

Instance Method Summary collapse

Instance Method Details



3
4
5
# File 'app/helpers/nav_helper.rb', line 3

def active_link(controller, action)
	'class="active"' if params[:action] ==  action
end