Skip to content
Browse files

need to check this exists

  • Loading branch information...
1 parent b41139d commit c5bc4f24685f87328bef49e7c7188dceb89e5c50 @plukevdh committed Apr 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/readability/helpers/authentication.rb
View
2 lib/readability/helpers/authentication.rb
@@ -6,7 +6,7 @@ def readabilified?
end
def readability_access
- session[:readability][:readability_access]
+ session[:readability][:readability_access] if session[:readability]
end
def readability(resource, args = {})

0 comments on commit c5bc4f2

Please sign in to comment.
Something went wrong with that request. Please try again.