From b298d3e8eeb10903bd4640dab7c11d0dc1be9d38 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 29 Jan 2009 20:41:18 +0100 Subject: initial import with edge rails included as a submodule --- app/controllers/application_controller.rb | 10 ++++++++++ app/helpers/application_helper.rb | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 app/controllers/application_controller.rb create mode 100644 app/helpers/application_helper.rb (limited to 'app') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 0000000..6635a3f --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,10 @@ +# Filters added to this controller apply to all controllers in the application. +# Likewise, all the methods added will be available for all controllers. + +class ApplicationController < ActionController::Base + 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 +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 0000000..22a7940 --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,3 @@ +# Methods added to this helper will be available to all templates in the application. +module ApplicationHelper +end -- cgit v1.3