Module: NavigatorRails::Helpers::ApplicationHelper

Defined in:
lib/navigator_rails/helpers/application_helper.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/navigator_rails/helpers/application_helper.rb', line 4

def self.included(base)
  base.class_eval do
    require 'navigator_rails/navigator'
    helper_method :navigator
    def navigator
      @navigator = NavigatorRails::Navigator
    end
  end
end