Class: SlashMigrate::TablesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SlashMigrate::TablesController
- Defined in:
- app/controllers/slash_migrate/tables_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/slash_migrate/tables_controller.rb', line 3 def index @table_names = inspector.table_names end |
#show ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/slash_migrate/tables_controller.rb', line 7 def show head :not_found and return unless inspector.exists?(params[:id]) @table = inspector.table(params[:id]) end |