Permalink
Browse files

welcome controls render on RailsPages

  • Loading branch information...
1 parent af87382 commit 84949fad26f2212f163e0a9ff782d082455878d8 @will-r will-r committed Oct 14, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/controllers/accounts_controller.rb
  2. +1 −1 lib/radiant-reader-extension.rb
  3. +1 −1 lib/reader_tags.rb
@@ -104,7 +104,7 @@ def update
def set_expiry
if Radiant.config['directory.visibility'] == 'public'
- expires_in 1.day
+ expires_in 1.day, :public => true, :private => false
else
expires_now
end
@@ -1,5 +1,5 @@
module RadiantReaderExtension
- VERSION = '3.0.24'
+ VERSION = '3.0.25'
SUMMARY = %q{Reader/viewer/visitor registration, login and access-control for Radiant CMS}
DESCRIPTION = %q{Provides reader/member/user registration and management functions including password-reminder, group-based page access control and administrative email.}
URL = "http://radiant.spanner.org/reader"
View
@@ -107,7 +107,7 @@ class TagError < StandardError; end
<pre><code><r:reader_welcome /></code></pre>
}
tag "reader_welcome" do |tag|
- if tag.locals.page.cache?
+ if tag.locals.page.cache? && !tag.locals.page.is_a?(RailsPage)
%{<div class="remote_controls"></div>}
else
if tag.locals.reader = Reader.current

0 comments on commit 84949fa

Please sign in to comment.