Sha256: a355ccabd44cc42685cdc44b4cdc65079d5d1f730dc049e29f977e9a676fb335
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 Bytes
Contents
require 'tb_core' module Spud module Events class Engine < Rails::Engine engine_name :tb_events config.autoload_paths << File.expand_path("../../..", __FILE__) initializer :admin do Spud::Core.configure do |config| config.admin_applications += [{:name => "Events", :thumbnail => "spud/admin/events_thumb.png", :url => "/admin/events",:order => 10}] end end initializer :assets do |config| Spud::Core.append_admin_javascripts('spud/admin/events') Spud::Core.append_admin_stylesheets('spud/admin/events') Rails.application.config.assets.precompile += [ "spud/events.*", "spud/admin/events.*" ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tb_events-1.1.0 | lib/spud/events/engine.rb |