Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (9 sloc) 214 Bytes
if Rails.root.nil?
class ActsAsArchiveRailtie < Rails::Railtie
initializer "acts_as_archive" do
ActsAsArchive.load_from_yaml(Rails.root)
end
end
else
ActsAsArchive.load_from_yaml(Rails.root)
end