Sha256: e0ad723767aa675b887c2b56b84e55d1b6a55e310bd0f69b0176067b523db293

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 Bytes

Contents

module SimpleDiscussion
  class Engine < ::Rails::Engine
    engine_name 'simple_discussion'

    # Grab the Rails default url options and use them for sending notifications
    config.after_initialize do
      SimpleDiscussion::Engine.routes.default_url_options = ActionMailer::Base.default_url_options
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_discussion-1.2.0 lib/simple_discussion/engine.rb
simple_discussion-1.0.1 lib/simple_discussion/engine.rb
simple_discussion-1.0.0 lib/simple_discussion/engine.rb
simple_discussion-0.9.5 lib/simple_discussion/engine.rb
simple_discussion-0.9.4 lib/simple_discussion/engine.rb
simple_discussion-0.9.3 lib/simple_discussion/engine.rb