Sha256: 6f997f4d4ceaba309fd126636128a640e96ca7c3fae190298bbf098151391f2e
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
# 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 # Pick a unique cookie name to distinguish our session data from others' session :session_key => '_rails_session_id' def initialize #@page = widget 'page' @page = Widget.for_controller self, 'page' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
widgetz-0.0.2 | rails/app/controllers/application.rb |