Class: RepositoriesController

Inherits:
ApplicationController show all
Defined in:
lib/six-updater-web/app/controllers/repositories_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

#pingObject



22
23
24
25
# File 'lib/six-updater-web/app/controllers/repositories_controller.rb', line 22

def ping
  Repository.find(params[:id]).ping
  render :nothing => true
end

#tracertObject



27
28
29
30
# File 'lib/six-updater-web/app/controllers/repositories_controller.rb', line 27

def tracert
  Repository.find(params[:id]).tracert
  render :nothing => true
end