wheels 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/forums/index.html.haml +10 -13
- data/app/views/forums/show.html.haml +0 -1
- data/wheels.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.20
|
@@ -1,14 +1,4 @@
|
|
1
|
-
%h1
|
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
|
-
%
|
25
|
-
|
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
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:
|
4
|
+
hash: 55
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 20
|
10
|
+
version: 0.0.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tyler Gannon
|