Commit 07a29f05 authored by Uģis Ozols's avatar Uģis Ozols
Browse files

Don't check if Rails is defined.

parent 6f4c27b2
......@@ -4,7 +4,7 @@ module Refinery
autoload :NewsGenerator, 'generators/refinery/news_generator'
module News
require 'refinery/news/engine' if defined?(Rails)
require 'refinery/news/engine'
class << self
attr_writer :root
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment