discourse/config/initializers/onebox_options.rb

6 lines
84 B
Ruby

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