Class: SixconfigsController

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

Instance Method Summary collapse

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

#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

#copyObject



35
36
37
38
39
# File 'lib/six-updater-web/app/controllers/sixconfigs_controller.rb', line 35

def copy
  t = copy_ll(Kernel.const_get(self.controller_name.singularize.camelize), [:mods])
  @original_record = t[0]
  @record = t[1]
end

#test1Object



41
42
43
44
45
# File 'lib/six-updater-web/app/controllers/sixconfigs_controller.rb', line 41

def test1
  @sixconfig = Sixconfig.find("a5de5f84-94bd-11df-8867-00248c385045")
  @signatures = @sixconfig.queryserver.signatures
  @allowed, @disallowed, @garbage = *@sixconfig.appsetting.allowance(@signatures)
end