static_pages 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  class PagesController < ApplicationController
2
2
  caches_action :show, :expires_in => 1.week
3
3
  def show
4
- render :template => params[:id]
4
+ render :template => "/#{StaticPages::PATH}/" + params[:id]
5
5
  end
6
6
  end
data/static_pages.gemspec CHANGED
@@ -10,7 +10,7 @@ PKG_FILES = FileList[
10
10
 
11
11
  spec = Gem::Specification.new do |s|
12
12
  s.name = "static_pages"
13
- s.version = "0.0.4"
13
+ s.version = "0.0.5"
14
14
  s.author = "Christian Weis"
15
15
  s.email = "christian.weis@gmail.com"
16
16
  s.homepage = "http://christian-weis.de/"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_pages
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Weis