ecm_cms 1.0.3.pre → 1.0.4.pre

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = ECM Module Template
2
2
 
3
+ = End-User documentation
4
+
5
+ Please look at the[link:doc] Folder.
6
+
7
+
3
8
  = Prerequisites
4
9
 
5
10
  * rails ~> 3.2.8
@@ -1,14 +1,20 @@
1
1
  class Ecm::Cms::PageController < ApplicationController
2
2
  # inject locale to params and vice versa
3
3
  include RailsTools::I18nController
4
-
4
+
5
5
  # add the page resolver
6
6
  include Ecm::Cms::ControllerExtensions::PageResolver
7
+ include Ecm::Cms::ControllerExtensions::PartialResolver
7
8
 
8
9
  # avoid error 500 on missing template
9
10
  rescue_from ActionView::MissingTemplate do
10
11
  respond_to do |format|
11
- format.html { render(:file => "#{Rails.root}/public/404", :formats => [:html], :layout => false, :status => 404) }
12
+ format.html {
13
+ render(:file => "#{Rails.root}/public/404", :formats => [:html],
14
+ :layout => false,
15
+ :status => 404
16
+ )
17
+ }
12
18
  format.xml { head :not_found }
13
19
  format.any { head :not_found }
14
20
  end
@@ -18,3 +24,4 @@ class Ecm::Cms::PageController < ApplicationController
18
24
  render :template => params[:page]
19
25
  end
20
26
  end
27
+
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Cms
3
- VERSION = "1.0.3.pre"
3
+ VERSION = "1.0.4.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915992
4
+ hash: 961915972
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
9
+ - 4
10
10
  - pre
11
- version: 1.0.3.pre
11
+ version: 1.0.4.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-03-24 00:00:00 Z
19
+ date: 2013-06-06 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails