my_forum 0.0.1.beta51 → 0.0.1.beta52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/my_forum/topics_controller.rb +1 -1
- data/lib/my_forum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75e9f0fb2084d4be65a1ef9cf4c6dcac6e8979bd
|
4
|
+
data.tar.gz: 5e3da8f117eb439ca7e356d3af2b2c9351023869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fe54f30abac2710c9273a19a65e2b32ca5db5b82501366bdf5e7cefa4468ea869d695db1e6dcc42fd8ca22b2f92e0052022057341b3a7e3d89a16d9f90da42d
|
7
|
+
data.tar.gz: ddd44223997ecce016b63b43575dbcc9c2f6fbeb9124f1d86243d9cac1951a0a57636e60f94645919331ee9d259c36d155b752be973d77a47c7b77475e2216f3
|
@@ -62,7 +62,7 @@ module MyForum
|
|
62
62
|
|
63
63
|
# TODO development in progress
|
64
64
|
def get_last_readed_user_page
|
65
|
-
return nil
|
65
|
+
return nil if not current_user or params[:page].blank?
|
66
66
|
user_last_page = nil
|
67
67
|
|
68
68
|
latest_readed_post = LogReadMark.where(user_id: current_user.id, topic_id: @topic.id).first
|
data/lib/my_forum/version.rb
CHANGED