Module: Refinery::Redirections
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/refinery/redirections.rb,
lib/refinery/redirections/engine.rb,
lib/refinery/redirections/configuration.rb,
lib/refinery/redirections/routes_constraint.rb,
app/controllers/refinery/redirections/admin/redirections_controller.rb
Defined Under Namespace
Modules: Admin Classes: Engine, Redirection, RedirectionsController, RoutesConstraint
Instance Attribute Summary collapse
-
#root ⇒ Object
writeonly
Sets the attribute root.
Class Method Summary collapse
Instance Attribute Details
#root=(value) ⇒ Object (writeonly)
Sets the attribute root
15 16 17 |
# File 'lib/refinery/redirections.rb', line 15 def root=(value) @root = value end |
Class Method Details
.factory_paths ⇒ Object
22 23 24 |
# File 'lib/refinery/redirections.rb', line 22 def factory_paths @factory_paths ||= [ root.join("spec/factories").to_s ] end |
.root ⇒ Object
18 19 20 |
# File 'lib/refinery/redirections.rb', line 18 def root @root ||= Pathname.new(File.('../../../', __FILE__)) end |