Module: Refinery::Menus

Includes:
ActiveSupport::Configurable
Defined in:
lib/refinery/menus.rb,
lib/refinery/menus/engine.rb,
lib/refinery/menus/version.rb,
app/models/refinery/menus/menu.rb,
lib/refinery/menus/configuration.rb,
app/models/refinery/menus/menu_link.rb,
lib/refinery/menus/instance_methods.rb,
app/controllers/refinery/menus/admin/menus_controller.rb,
app/controllers/refinery/menus/admin/menu_links_controller.rb

Defined Under Namespace

Modules: Admin, InstanceMethods Classes: Engine, Menu, MenuLink, Version

Class Method Summary collapse

Class Method Details

.factory_pathsObject



19
20
21
# File 'lib/refinery/menus.rb', line 19

def factory_paths
  @factory_paths ||= [ root.join('spec', 'factories').to_s ]
end

.rootObject



15
16
17
# File 'lib/refinery/menus.rb', line 15

def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end