Class: AriController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AriController
- Defined in:
- lib/generators/templates/controllers/ari_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 |
# File 'lib/generators/templates/controllers/ari_controller.rb', line 2 def index @models = Ari::Inspector.collect_models() end |
#show ⇒ Object
6 7 8 |
# File 'lib/generators/templates/controllers/ari_controller.rb', line 6 def show @data = Ari::Inspector.inspect_data(params[:id], params[:method], params[:where], params[:parent_model], params[:parent_id], params[:belongs_to], params[:collection], params[:offset].to_i) end |