Sha256: 6fef1ce2238bb9b32ae08b01bb161f84782ca5f927d5983d73b36ffab0786590

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  	layout "application"
  	require 'resolv-replace'
  	require 'oxd-ruby'
  	protect_from_forgery with: :exception

 	before_filter :set_oxd_commands_instance
	protected
		def set_oxd_commands_instance
      @oxd_command = Oxd::ClientOxdCommands.new
			@uma_command = Oxd::UMACommands.new
		end  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oxd-ruby-0.1.8 demosite/app/controllers/application_controller.rb
oxd-ruby-0.1.7 demosite/app/controllers/application_controller.rb