Sha256: f53291d08794ac88bd0df3a69fd6b6622b6f67bf7c0ae644414406ee0d5a70ef

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

require "base_controller.rb"

class ApplicationController < BaseController
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery :with => :exception

  # use authentication based on "devise"
  before_filter :authenticate_user!

  # global requires
  $LOAD_PATH << File.join(File.dirname(__FILE__), "../../../../../lib") 

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cloud-toaster-1.1.5 webapp/app/controllers/application_controller.rb
cloud-toaster-1.1.4 webapp/app/controllers/application_controller.rb
cloud-toaster-1.1.3 webapp/app/controllers/application_controller.rb
cloud-toaster-1.1.2 webapp/app/controllers/application_controller.rb