my_forum 0.0.1.beta44 → 0.0.1.beta45
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d75b83b87dc5f2441eb108986bdb9c76095754f7
|
4
|
+
data.tar.gz: a549edc0bbadd9bbe016ba257a1e8a5d99fe86cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16ee8897a372e616e8634d884582771d2c6d6d79e4fe92cd6089e8a5adf2fbc707fce5c70e8e3d3a6b4e6faa7fdbab136ca074f8a9b9a11ef10867a1a3761ced
|
7
|
+
data.tar.gz: 4452305a9cf2419641f8cf00b4e67dacaf6e0290c4f0da61c859b9ce9f76a99d4a94ab68ee6c9e72a8d215d0f9af0eeee54c30332f6772af26088b9506385a45
|
@@ -63,7 +63,6 @@ module MyForum
|
|
63
63
|
# TODO development in progress
|
64
64
|
def get_last_readed_user_page
|
65
65
|
return nil unless params[:page].blank? or current_user
|
66
|
-
return nil if
|
67
66
|
user_last_page = nil
|
68
67
|
|
69
68
|
latest_readed_post = LogReadMark.where(user_id: current_user.id, topic_id: @topic.id).first
|
data/app/models/my_forum/post.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
.container-fluid
|
2
2
|
.row
|
3
|
-
#topic_header.col-md-
|
3
|
+
#topic_header.col-md-8
|
4
4
|
= render 'topic_header', topic: @topic
|
5
|
-
.col-md-
|
6
|
-
= will_paginate @topic_posts
|
5
|
+
.col-md-4.text-right
|
6
|
+
= will_paginate @topic_posts, inner_window: 1, outer_window: 1
|
7
7
|
.row
|
8
8
|
.col-md-12
|
9
9
|
#posts
|
data/lib/my_forum/version.rb
CHANGED