refinerycms-news 0.9.9.4 → 0.9.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/news_items_controller.rb +8 -0
- data/lib/news.rb +1 -1
- metadata +4 -4
@@ -4,6 +4,14 @@ class NewsItemsController < ApplicationController
|
|
4
4
|
before_filter :find_published_news_items, :find_page, :only => [:index]
|
5
5
|
before_filter :find_news_item, :only => [:show]
|
6
6
|
|
7
|
+
def index
|
8
|
+
render 'index'
|
9
|
+
end
|
10
|
+
|
11
|
+
def show
|
12
|
+
render 'show'
|
13
|
+
end
|
14
|
+
|
7
15
|
protected
|
8
16
|
|
9
17
|
def find_latest_news_items
|
data/lib/news.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-news
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 41
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 9
|
10
|
-
-
|
11
|
-
version: 0.9.9.
|
10
|
+
- 5
|
11
|
+
version: 0.9.9.5
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Resolve Digital
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-10-
|
19
|
+
date: 2010-10-22 00:00:00 +13:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|