Sha256: 0ddca4375629467ab88718060e7838c752ea9159730521c20cb37d419cbc2ccb
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 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.to_prepare do ThemesForRails::Railtie.config.themes_for_rails.each do |key, value| ThemesForRails.send "#{key}=".to_sym, value end end rake_tasks do load "tasks/themes_for_rails.rake" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
themes_for_rails-0.2.5 | lib/themes_for_rails/railtie.rb |
themes_for_rails-0.2.4 | lib/themes_for_rails/railtie.rb |
themes_for_rails-0.2.2 | lib/themes_for_rails/railtie.rb |