Sha256: 3f31322e7310a8394b46fdf526814bac56885a69e7d6c582555ec2ee2718dfb1

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

require 'active_support/core_ext/array/conversions'
require 'tennpipes-base'
require 'tennpipes-helper'

FileSet.glob_require('tennpipes-su/*.rb', __FILE__)
FileSet.glob_require('tennpipes-su/{helpers,utils}/*.rb', __FILE__)

module Tennpipes
  ##
  # Tennpipes::Admin is beautiful Ajax Admin, with these features:
  #
  # Orm Agnostic:: Adapters for datamapper, activerecord, mongomapper, couchdb (now only: datamapper and activerecord), ohm
  # Authentication:: Support for Account authentication, Account Permission management
  # Scaffold:: You can simply create a new "admin interface" simply providing a Model
  # Ajax Uploads:: You can upload file, manage them and attach them to any model in a quick and simple way (coming soon)
  #
  module Admin
    class << self
      def registered(app)
        # Load Tennpipes::Admin locales
        I18n.load_path += Dir["#{File.dirname(__FILE__)}/tennpipes-su/locale/**/*.yml"]
      end
      alias :included :registered
    end
  end
end

##
# Now we need to add admin generators to tennpipes-init
#
begin
  require 'tennpipes-init'
  Tennpipes::Generators.load_paths << Dir[File.dirname(__FILE__) + '/tennpipes-su/generators/{actions,orm,admin_app,admin_page}.rb']
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tennpipes-su-3.6.6 lib/tennpipes-su.rb