Sha256: 0b1d307e5f6efe831b1934533032682f8e0dc2e748bfd0d1841d0ca9c0ced7ff
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
# ActiveSupport.on_load(:action_view) { include Devise::Controllers::UrlHelpers } module ThemesForRails class Railtie < ::Rails::Railtie config.themes_for_rails = ActiveSupport::OrderedOptions.new config.themes_for_rails.on = true # config.themes_for_rails.base_path = File.join([::Rails.root, 'themes']) rake_tasks do load "tasks/themes_for_rails.rake" end config.to_prepare do ThemesForRails::Railtie.config.themes_for_rails.each do |k, v| Rails.logger.info "themes_for_rails.#{k}: #{v}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
themes_for_rails-0.2.1 | lib/themes_for_rails/railtie.rb |