require 'refinerycms-core' module Refinery autoload :GalleryLinksGenerator, 'generators/refinery/gallery_links_generator' module GalleryLinks require 'refinery/gallery_links/engine' class << self attr_writer :root def root @root ||= Pathname.new(File.expand_path('../../../', __FILE__)) end def factory_paths @factory_paths ||= [ root.join('spec', 'factories').to_s ] end end end end