Class: AdminData::MigrationController

Inherits:
ApplicationController show all
Defined in:
app/controllers/admin_data/migration_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#klass

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/admin_data/migration_controller.rb', line 6

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

#jstestObject



12
13
14
15
# File 'app/controllers/admin_data/migration_controller.rb', line 12

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