browsercms 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,7 +90,7 @@ class Cms::ContentController < Cms::ApplicationController
90
90
 
91
91
  def try_to_redirect
92
92
  if redirect = Redirect.find_by_from_path(@path)
93
- redirect_to redirect.to_path
93
+ redirect_to redirect.to_path, :status=>:moved_permanently
94
94
  end
95
95
  end
96
96
 
data/browsercms.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{browsercms}
8
- s.version = "3.1.3"
8
+ s.version = "3.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["BrowserMedia"]
12
- s.date = %q{2011-03-22}
12
+ s.date = %q{2011-10-12}
13
13
  s.description = %q{General purpose Web Content Management in Rails.}
14
14
  s.email = %q{github@browsermedia.com}
15
15
  s.executables = ["browsercms", "bcms"]
data/lib/cms/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # Allows the precise version of BrowserCMS to be determined programmatically.
3
3
  #
4
4
  module Cms
5
- VERSION = "3.1.3"
5
+ VERSION = "3.1.4"
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browsercms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease: false
4
+ hash: 11
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 3
10
- version: 3.1.3
9
+ - 4
10
+ version: 3.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - BrowserMedia
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-22 00:00:00 -04:00
18
+ date: 2011-10-12 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -1455,7 +1455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1455
1455
  requirements: []
1456
1456
 
1457
1457
  rubyforge_project: browsercms
1458
- rubygems_version: 1.3.7
1458
+ rubygems_version: 1.6.2
1459
1459
  signing_key:
1460
1460
  specification_version: 3
1461
1461
  summary: BrowserCMS is a general purpose, open source Web Content Management System (CMS) written in Ruby on Rails. Designed for web developers who want to create great looking websites while using standard Rails tools for customizing it.