Sha256: b3b0c27ccea2af78c33efa5c698ea40316f06df2327a284a146a319023735034

Contents?: true

Size: 437 Bytes

Versions: 4

Compression:

Stored size: 437 Bytes

Contents

class AdminData::MigrationController < AdminData::BaseController

  unloadable

  before_filter :ensure_is_allowed_to_view

  def index
    @page_title = 'migration information'
    m = 'select * from schema_migrations'
    @data = ActiveRecord::Base.connection.select_all(m)
    respond_to {|format| format.html}
  end

  def jstest
    @page_title = 'jstest'
    respond_to {|format| format.html { render :layout => false}}
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
admin_data-1.0.3 app/controllers/admin_data/migration_controller.rb
admin_data-1.0.2 app/controllers/admin_data/migration_controller.rb
admin_data-1.0.1 app/controllers/admin_data/migration_controller.rb
admin_data-1.0.0 app/controllers/admin_data/migration_controller.rb