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

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise-guests-0.8.3/lib/devise-guests/engine.rb
devise-guests-0.8.3 lib/devise-guests/engine.rb
devise-guests-0.8.2 lib/devise-guests/engine.rb
devise-guests-0.8.1 lib/devise-guests/engine.rb
devise-guests-0.8.0 lib/devise-guests/engine.rb