Sha256: 2f1a2e406fa98dc8573252a381fd3aae14dc9f119f4c990c5bb8feb768f814f8
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
require 'rails' module Tanker class Railtie < Rails::Railtie config.index_tank_url = '' initializer "tanker.boot" do get_config end config.after_initialize do get_config end rake_tasks do load "tanker/tasks/tanker.rake" end def get_config Tanker.configuration = {:url => config.index_tank_url } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tanker-0.5.3 | lib/tanker/railtie.rb |