Module: Refinery::Recommendations

Defined in:
lib/refinery/recommendations.rb,
lib/refinery/recommendations/engine.rb,
app/models/refinery/recommendations/recommendation.rb,
app/controllers/refinery/recommendations/recommendations_controller.rb,
app/controllers/refinery/recommendations/admin/recommendations_controller.rb

Defined Under Namespace

Modules: Admin Classes: Engine, Recommendation, RecommendationsController

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



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

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

Class Method Details

.factory_pathsObject



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

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