Nessuna descrizione http://j1x-huginn.herokuapp.com

application_helper.rb 403B

    module ApplicationHelper def nav_link(name, path, options = {}) (<<-HTML).html_safe <li class='#{(current_page?(path) ? "active" : "")}'> #{link_to name, path} </li> HTML end def working(agent) if agent.working? '<span class="label label-success">Yes</span>'.html_safe else '<span class="label label-warning">No</span>'.html_safe end end end