Sha256: 1d8978aa95c0f3007a4ec57984bf43559468c3706c559717dfe3d40f479574e8
Contents?: true
Size: 308 Bytes
Versions: 30
Compression:
Stored size: 308 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery helper_method :page_title def page_title title = case action_name when 'index' 'Home' when 'page1' 'Page 1' when 'page2' 'Page 2' end "Ajaxify Test - #{title}" end end
Version data entries
30 entries across 30 versions & 1 rubygems