Sha256: a364323850fae93b662c083073480718eaa65c9b8787b3b4afd10326ff07ac54
Contents?: true
Size: 378 Bytes
Versions: 8
Compression:
Stored size: 378 Bytes
Contents
module ForumReaderSessionsController def self.included(base) base.class_eval do def default_welcome_url_with_forum(reader=nil) if Radiant.config['reader.login_to'] == 'forum' topics_url else default_welcome_url_without_forum(reader) end end alias_method_chain :default_welcome_url, :forum end end end
Version data entries
8 entries across 8 versions & 1 rubygems