Sha256: dbcf8a344584a0b1d4adbd60ec6c19dd1a7de4be18bb34348761b3299aee6e2b
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 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' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
widgetz-0.0.1 | sample/rails/app/controllers/application.rb |