discourse/vendor/gems/discourse_imgur/lib/discourse_imgur/engine.rb
Régis Hanol 4db87e4972 added untested discourse_imgur plugin
tried to keep as much logic/data from the original source code
2013-06-11 22:44:06 +02:00

19 lines
331 B
Ruby

require 'discourse_imgur/plugin'
module DiscourseImgur
class Engine < Rails::Engine
engine_name 'discourse_imgur'
initializer "discourse_imgur.configure_rails_initialization" do |app|
app.config.after_initialize do
DiscoursePluginRegistry.setup(DiscourseImgur::Plugin)
end
end
end
end