Class: AdminData::MigrationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- AdminData::MigrationController
- Defined in:
- app/controllers/admin_data/migration_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |
#jstest ⇒ Object
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 |