Module: Refinery::Banners

Defined in:
lib/page_extensions.rb,
lib/refinery/banners.rb,
lib/refinery/banners/engine.rb,
app/models/refinery/banners/banner.rb,
app/controllers/refinery/banners/banners_controller.rb,
app/controllers/refinery/banners/admin/banners_controller.rb

Defined Under Namespace

Modules: Admin, Extensions Classes: Banner, BannersController, Engine

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



12
13
14
# File 'lib/refinery/banners.rb', line 12

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

Class Method Details

.factory_pathsObject



16
17
18
# File 'lib/refinery/banners.rb', line 16

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