Class: QueryserversController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- QueryserversController
- Defined in:
- lib/six-updater-web/app/controllers/queryservers_controller.rb
Instance Method Summary collapse
Methods included from Six::Import::Controller::ClassMethods
Methods inherited from ActionController::Base
#active_scaffold_render_secure_download, #assign_names_with_active_scaffold, #render_with_active_scaffold, #search_generic_view_paths?
Instance Method Details
#latest ⇒ Object
37 38 39 40 41 |
# File 'lib/six-updater-web/app/controllers/queryservers_controller.rb', line 37 def latest @record = Queryserver.find(params[:id]) @record.latest @record.save # if @record.changed? end |