ecm_news2 1.0.3 → 1.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f99b31cae81ab3fcb4583c1993b0eefacdfcf23
4
- data.tar.gz: 06ccad532552eabe28431884860a2150faef1db3
3
+ metadata.gz: 6e29571bbfd8a1790737cd37ff1e6e15fd8634b4
4
+ data.tar.gz: 2b08abec99fb4eca033f46fc2c205d13cf5e519f
5
5
  SHA512:
6
- metadata.gz: 7d920f6548549adf6bb9628dd62b55cf44c2fd0fd00c13ff67b399f799d0137dad54ccb2a414fa10bbb4af330387e9fa75f87dfc436e1f99b44bf3acd13552a9
7
- data.tar.gz: b048cb24a1633c1a87b3a7bdf594fc66e839ad683f4459b6ae507f707185141e9c46c9366cd2b37b631ab0d023e26a0523f433a7cd36934f8aba7980c1048149
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'), ecm_news_items_path, class: 'btn btn-default') %>
10
+ <%= link_to(t('ecm.news.item.actions.back'), main_app.root_path, class: 'btn btn-default') %>
11
11
  </div>
@@ -1,6 +1,6 @@
1
1
  module Ecm
2
2
  module News
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_news2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel