Fix exception when viewing /favorite_groups while logged out.
Also fixes a test failure in the favgroups controller tests.
This commit is contained in:
@@ -181,6 +181,10 @@ class AnonymousUser
|
|||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def hide_favorites?
|
||||||
|
false
|
||||||
|
end
|
||||||
|
|
||||||
def enable_sequential_post_navigation
|
def enable_sequential_post_navigation
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user