mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
4db87e4972
tried to keep as much logic/data from the original source code
19 lines
331 B
Ruby
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
|