Sha256: 4ac4bf738afc0721cb056deccf1f124eec62bb2317026c71993f443134161cbe
Contents?: true
Size: 526 Bytes
Versions: 5
Compression:
Stored size: 526 Bytes
Contents
require "rails" require "devise" module DeviseGuests class Engine < ::Rails::Engine initializer "devise_guests.add_helpers" do Devise.include_helpers(DeviseGuests::Controllers) Devise.helpers << DeviseGuests::Controllers::Helpers end # This makes our rake tasks visible. rake_tasks do Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__), ".."))) do Dir.glob(File.join("railties", "*.rake")).each do |railtie| load railtie end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems