ecm_news2 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +9 -0
- data/app/views/ecm/news/items/index.html.erb +1 -1
- data/lib/ecm/news/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e29571bbfd8a1790737cd37ff1e6e15fd8634b4
|
4
|
+
data.tar.gz: 2b08abec99fb4eca033f46fc2c205d13cf5e519f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9431fa12e1a053ec9af1d9a9bd5ea31dc07104b55e38aa0668bd2f598b38deaf6ba595ae0ac2e2866b84f2840bb9c53a2f1a32b10f14e30e1efe5c693b7243
|
7
|
+
data.tar.gz: af6f5c58b4a6cf8056539b5d77a7105382d028bb576b492a6b94f18f5ef4fe110c5ed8127747bd1ef3f9b9ef5d2aa34fe9e764f0b3f14913618b9f146f5195ed
|
data/README.rdoc
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
News module for active admin. This version supports rails 4.x and twitter bootstrap 3. For legacy support use ecm_news
|
4
4
|
|
5
|
+
= Prerequisites
|
6
|
+
|
7
|
+
Please make sure, that you have set a root_path in your application, i.e.:
|
8
|
+
|
9
|
+
# config/routes
|
10
|
+
Rails.application.routes.draw do
|
11
|
+
root to: 'home#index'
|
12
|
+
end
|
13
|
+
|
5
14
|
= Installation
|
6
15
|
|
7
16
|
Add the gem to your bundle:
|
@@ -7,5 +7,5 @@
|
|
7
7
|
<%= paginate @items, :theme => 'twitter-bootstrap' %>
|
8
8
|
|
9
9
|
<div class="well page-actions">
|
10
|
-
<%= link_to(t('ecm.news.item.actions.back'),
|
10
|
+
<%= link_to(t('ecm.news.item.actions.back'), main_app.root_path, class: 'btn btn-default') %>
|
11
11
|
</div>
|
data/lib/ecm/news/version.rb
CHANGED