discourse/config/initializers/100-onebox_options.rb

6 lines
84 B
Ruby

require_dependency 'twitter_api'
Onebox.options = {
twitter_client: TwitterApi
}