Sha256: 551bfc23fa34d753813e381418aaf634e65690cbc1a83cc1e07f693e11edb1c9

Contents?: true

Size: 466 Bytes

Versions: 17

Compression:

Stored size: 466 Bytes

Contents

class ApplicationController < ActionController::Base
  include Rackamole::Interceptor
  
  helper :all # include all helpers, all the time
  protect_from_forgery # See ActionController::RequestForgeryProtection for details

  # Scrub sensitive parameters from your log
  # filter_parameter_logging :password
  
  before_filter :setup
  
  def setup
    session[:user_name] = "Fernand"
  end
  
  protected
  
     def local_request?
       return false
     end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rackamole-0.4.1 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.4.0 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.5 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.4 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.3 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.2 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.1 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.2.0 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.1.1 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.1.0 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.9 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.8 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.7 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.6 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.4 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.3 samples/rails/moled/app/controllers/application_controller.rb
rackamole-0.0.2 samples/rails/moled/app/controllers/application_controller.rb