Sha256: 915368c69c9a8cc83aabb17aa7c48b43f382c2db6a36e4c929e37767703c1526
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
require 'themes_on_rails/version' require 'themes_on_rails/engine' require 'active_support/concern' module ThemesOnRails autoload :ActionController, 'themes_on_rails/action_controller' autoload :ControllerAdditions, 'themes_on_rails/controller_additions' def self.all Dir.glob("app/themes/*").select { |fn| !fn.start_with?('.') && File.directory?(fn) }.map { |fn| fn.split('/').last } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
themes_on_rails-0.4.0 | lib/themes_on_rails.rb |
themes_on_rails-0.3.1 | lib/themes_on_rails.rb |