Class: QueryserversController

Inherits:
ApplicationController show all
Defined in:
lib/six-updater-web/app/controllers/queryservers_controller.rb

Instance Method Summary collapse

Methods included from Six::Import::Controller::ClassMethods

#copy, #six_local_auto_login

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

#latestObject



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