my_forum 0.0.2.2 → 0.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/my_forum/posts_controller.rb +5 -0
- data/lib/my_forum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b21a1ce3c047c551dd2e52e60a15037b8f859781
|
4
|
+
data.tar.gz: 427cbeaad565bb449517d2689b4f88d3876f2b6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8372e077b81ebfeb3e066fe4ca6fad984931d6147c5b0e4198ae3d92817543edb6ad1d4a41b0590a289d0357dcd6ce553cf7924adef54292d649ea194a22a57b
|
7
|
+
data.tar.gz: 90e0c058319cd2bd836da93772bad6dc44f3a6dcf490669be736caae23520de6940ae807e93e6f57527d3c9cb6a83f2d25c4bdaadbcba8271674398ab8e20d94
|
@@ -2,6 +2,11 @@ require_dependency "my_forum/application_controller"
|
|
2
2
|
|
3
3
|
module MyForum
|
4
4
|
class PostsController < ApplicationController
|
5
|
+
|
6
|
+
# Auto link - TODO remove
|
7
|
+
include ActionView::Helpers::TextHelper
|
8
|
+
include ActionView::Helpers::UrlHelper
|
9
|
+
|
5
10
|
before_filter :verify_admin, only: [:edit, :update]
|
6
11
|
before_filter :find_topic, except: [:show, :preview]
|
7
12
|
before_filter :find_forum, except: [:show, :preview]
|
data/lib/my_forum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_forum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitaly Omelchenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|