Sha256: e9f63703e2a92754f0b53bd0d5662e62cc4446a0510518f2a7caa15330a3ef6c
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
# Filters added to this controller will be run for all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base before_filter :initialize_variables protected def initialize_variables @controller_name = controller_name @action_name = action_name @users = User.find(:all) @mailinglist_classes = MailinglistClass.find(:all) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sugoi-mail-0.3.2 | app/controllers/application.rb |