Module: RepositoriesHelper

Defined in:
lib/six-updater-web/app/helpers/repositories_helper.rb

Instance Method Summary collapse

Instance Method Details

#ping_column(record, b = nil) ⇒ Object



2
3
4
# File 'lib/six-updater-web/app/helpers/repositories_helper.rb', line 2

def ping_column(record, b = nil)
  link_to_remote "ping", {:url => "/repositories/ping/#{record.id}"}
end

#tracert_column(record, b = nil) ⇒ Object



5
6
7
# File 'lib/six-updater-web/app/helpers/repositories_helper.rb', line 5

def tracert_column(record, b = nil)
  link_to_remote "tracert", {:url => "/repositories/tracert/#{record.id}"}
end