ecm_news 0.1.10.pre → 0.1.12.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,5 @@ class Ecm::News::ItemsController < ApplicationController
5
5
 
6
6
  def show
7
7
  @item = Ecm::News::Item.published.where(:locale => I18n.locale.to_s).find(params[:id])
8
- @meta_description = @item.title
9
- @title = @item.title
10
8
  end
11
9
  end
@@ -1,3 +1,5 @@
1
+ <% content_for :meta_description, I18n.t('ecm.news.news') %>
2
+ <% content_for :title, I18n.t('ecm.news.news') %>
1
3
  <h1><%= I18n.t('ecm.news.news') %></h1>
2
4
 
3
5
  <%= render :partial => 'item_for_preview', :collection => @items, :as => :item %>
@@ -1,3 +1,5 @@
1
+ <% content_for :meta_description, @item.title %>
2
+ <% content_for :title, @item.title %>
1
3
  <%= render @item %>
2
4
 
3
5
  <%= link_to(:back, :class => 'btn link-back') do %>
@@ -1,5 +1,6 @@
1
1
  module Ecm
2
2
  module News
3
- VERSION = "0.1.10.pre"
4
- end
3
+ VERSION = "0.1.12.pre"
4
+ end
5
5
  end
6
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_news
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961916004
4
+ hash: 961916028
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 10
9
+ - 12
10
10
  - pre
11
- version: 0.1.10.pre
11
+ version: 0.1.12.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-02-07 00:00:00 Z
19
+ date: 2013-02-12 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails