Skip to content

Commit

Permalink
Wrap requires in SimpleNavigationBootstrap module
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 27, 2018
1 parent f5f5bfa commit ff7cd3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/simple_navigation_bootstrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

require 'forwardable'
require 'simple-navigation'
require 'simple_navigation_bootstrap/errors'
require 'simple_navigation_bootstrap/rendered_item'
require 'simple_navigation_bootstrap/bootstrap_base'
require 'simple_navigation_bootstrap/bootstrap2'
require 'simple_navigation_bootstrap/bootstrap3'
require 'simple_navigation_bootstrap/engine' if defined? Rails::Engine

module SimpleNavigationBootstrap
require 'simple_navigation_bootstrap/errors'
require 'simple_navigation_bootstrap/rendered_item'
require 'simple_navigation_bootstrap/bootstrap_base'
require 'simple_navigation_bootstrap/bootstrap2'
require 'simple_navigation_bootstrap/bootstrap3'
require 'simple_navigation_bootstrap/engine' if defined? Rails::Engine
end

SimpleNavigation.register_renderer(bootstrap2: SimpleNavigationBootstrap::Bootstrap2)
Expand Down

0 comments on commit ff7cd3e

Please sign in to comment.