my_forum 0.0.1.beta11 → 0.0.1.beta12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10dad8230912925baaba5dff380a7a4cfa2fc5aa
4
- data.tar.gz: 5bb4b627be10719f631772901c843b6b49cc1b6d
3
+ metadata.gz: 7fac8ff36e2ec2d618a17dc4feb5a8a4474f83a0
4
+ data.tar.gz: 9a1c41aa8460c12b3adcd903d38d6a87494d82be
5
5
  SHA512:
6
- metadata.gz: 7b78a8580264fc0076fd049a34b091a98f502f4b647701b3c507793eaad781006fa476bbba136dcd4bbc96faaef3c31a0c4ce1736d122f35a2ef7814982a6c6e
7
- data.tar.gz: 9f09fcc47d28248981bde6129d583d6dcc50b6e2120f0f82588a9718cb895aa63f936b2273634ae2c3c5d679b851e45243f7236685dae20ad5a121eca91018af
6
+ metadata.gz: 6282d232de51ac4611b2b374d19d2e66d3c6c25b2e4a2d8a4dbfd20d344d91dd3bd6a245274fb39e116ada31b846fe5791075ebfc2731ab10558c9d00983303e
7
+ data.tar.gz: 89cc16a59bd0bbf29c890e42b1a98596be41475d84fe35378fff875874373f93b24ea63ee3ed4c6d9af0c5f088e0db531dd9ffcc6aa61a7980ee6fec84141754
@@ -22,11 +22,12 @@
22
22
  %th= t('.last_message_from')
23
23
  %th= t('.date')
24
24
  %tbody
25
- -@recent_topics.each do |topic|
26
- %tr
27
- %td= link_to topic.name, forum_topic_path(topic.forum, topic)
28
- %td= topic.posts.last.user.login
29
- %td= forum_time(topic.updated_at)
25
+ - if @recent_topics
26
+ -@recent_topics.each do |topic|
27
+ %tr
28
+ %td= link_to topic.name, forum_topic_path(topic.forum, topic)
29
+ %td= topic.posts.last.user.login
30
+ %td= forum_time(topic.updated_at)
30
31
 
31
32
  #online_users.well
32
33
  = t('.users_online')
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta11"
2
+ VERSION = "0.0.1.beta12"
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.beta11
4
+ version: 0.0.1.beta12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko