Class: QueryserversController
Instance Method Summary
collapse
#copy, #six_local_auto_login
#active_scaffold_render_secure_download, #assign_names_with_active_scaffold, #render_with_active_scaffold, #search_generic_view_paths?
Instance Method Details
37
38
39
40
41
|
# File 'lib/six-updater-web/app/controllers/queryservers_controller.rb', line 37
def export
record = Queryserver.find(params[:id])
cfg = record.export_to_preset
redirect_to "/sixconfigs/edit/#{cfg.id}"
end
|
43
44
45
46
47
|
# File 'lib/six-updater-web/app/controllers/queryservers_controller.rb', line 43
def latest
@record = Queryserver.find(params[:id])
@record.latest
@record.save end
|