Sha256: a13f76b30140fa98f51ae1f5de8110fd974abda74480d123fb9f6a372f6583da
Contents?: true
Size: 566 Bytes
Versions: 6
Compression:
Stored size: 566 Bytes
Contents
require 'comatose' require 'rails' module Comatose class Engine < Rails::Engine initializer 'comatose.add_routes' do |app| Rails.logger.debug "Adding Comatose::Routes" ActionDispatch::Routing::Mapper.send :include, Comatose::Routes end class <<self def load_tasks begin require 'comatose/tasks/admin' require 'comatose/tasks/setup' require 'comatose/tasks/data' rescue LoadError $: << File.join(File.dirname(__FILE__), '..', 'lib') end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems