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: b9e6b7c0c57f0a4a8bbdcbfd68a8d4897d4d756c
4
- data.tar.gz: dc665408beac7afd641d6924108c2fd0df5d3e62
3
+ metadata.gz: d75b83b87dc5f2441eb108986bdb9c76095754f7
4
+ data.tar.gz: a549edc0bbadd9bbe016ba257a1e8a5d99fe86cd
5
5
  SHA512:
6
- metadata.gz: e3a7b6210f0c307546d2cbc5892a35cdb32de3bc0df9eccd3745a585a9f403b01375a0664f7ce809770ccf9acb191961a0b23037174588d8b6ca1df313f792ab
7
- data.tar.gz: 1cfbd5122f63ed7eb6208a09bc733002ea2aa34eeba7b598415af3ae7be94bdc3ca5236a5699730d0e31c926b2cf83ac992298e5d3c93a302d2f25102762f4f3
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
@@ -7,7 +7,7 @@ module MyForum
7
7
 
8
8
  default_scope { where(is_deleted: false) }
9
9
 
10
- PER_PAGE = 15
10
+ PER_PAGE = 2
11
11
 
12
12
  private
13
13
 
@@ -1,9 +1,9 @@
1
1
  .container-fluid
2
2
  .row
3
- #topic_header.col-md-9
3
+ #topic_header.col-md-8
4
4
  = render 'topic_header', topic: @topic
5
- .col-md-3
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
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta44"
2
+ VERSION = "0.0.1.beta45"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta44
4
+ version: 0.0.1.beta45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko