wheels 0.0.19 → 0.0.20

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.19
1
+ 0.0.20
@@ -1,14 +1,4 @@
1
- %h1 Listing forums
2
-
3
- %ul
4
- - @forums.each do |forum|
5
- - if can? :read, forum
6
- %li
7
- = link_to forum.name, forum
8
- - if can? :create, Discussion, :forum_id=>forum.id
9
- = link_to "New Topic", new_forum_discussion_path(forum)
10
- - if can? :manage, forum
11
- = link_to "Manage Forum", edit_forum_path(forum)
1
+ %h1 Forums Home
12
2
 
13
3
  - if can? :create, Forum
14
4
  %h2 Open a New Forum
@@ -21,6 +11,13 @@
21
11
  = f.submit
22
12
 
23
13
  = content_for :links do
24
- %ul
25
- %li= link_to 'New forum', new_forum_path if can? :create, Forum
14
+ %h2 Forums:
15
+ - @forums.each do |forum|
16
+ %li.important_link
17
+ = link_to "#{forum.name} ->", forum
18
+ - if can? :create, Discussion, :forum_id=>forum.id
19
+ = link_to "ReplyTo", new_forum_discussion_path(forum)
20
+ - if can? :manage, forum
21
+ != "|" + link_to("Manage", edit_forum_path(forum))
22
+ %li.important_link= link_to 'New forum', new_forum_path if can? :create, Forum
26
23
 
@@ -13,7 +13,6 @@
13
13
  = link_to "Manage", edit_forum_discussion_path(@forum, discussion)
14
14
 
15
15
  = content_for :links do
16
- %ul
17
16
  - if can? :create, Discussion, :forum_id=>@forum.id
18
17
  %li= link_to "New topic in this forum", new_forum_discussion_path(@forum)
19
18
  - if can? :manage, @forum
data/wheels.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wheels}
8
- s.version = "0.0.19"
8
+ s.version = "0.0.20"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wheels
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 55
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 19
10
- version: 0.0.19
9
+ - 20
10
+ version: 0.0.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler Gannon