Class: Admin::ChangesController
- Inherits:
-
ResourceController
- Object
- ActionController::Base
- ApplicationController
- ResourceController
- Admin::ChangesController
- Defined in:
- app/controllers/admin/changes_controller.rb
Instance Attribute Summary
Attributes inherited from ApplicationController
#cache, #pagination_parameters, #trusty_config
Instance Method Summary collapse
Methods inherited from ResourceController
#destroy, #index, model_class, paginate_models, #paginated?, #pagination_parameters, #will_paginate_options
Methods included from TrustyCms::ResourceResponses
Methods inherited from ApplicationController
#after_sign_in_path_for, #initialize, #template_name
Methods included from LoginSystem
Constructor Details
This class inherits a constructor from ApplicationController
Instance Method Details
#show ⇒ Object
6 7 8 9 |
# File 'app/controllers/admin/changes_controller.rb', line 6 def show @changes = load_changes @change_error = 'Version ID not found.' if params[:version_id].present? && @changes.empty? end |