Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get rid of the last trace of news and clean up some whitespace (pleas…

…e look the other way while we release another version) ;)
  • Loading branch information...
commit 30ee1c13e96f36f94ff115f58af14e1abb3be9e2 1 parent 4aca120
@parndt parndt authored
View
2  VERSION
@@ -1 +1 @@
-0.9.6.23
+0.9.6.24
View
2  config/application.rb
@@ -2,7 +2,7 @@
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
# Specified gem version of Refinery to use when vendor/plugins/refinery/lib/refinery.rb is not present.
-REFINERY_GEM_VERSION = '0.9.6.23' unless defined? REFINERY_GEM_VERSION
+REFINERY_GEM_VERSION = '0.9.6.24' unless defined? REFINERY_GEM_VERSION
# Boot Rails
require File.join(File.dirname(__FILE__), 'boot')
View
26 db/seeds.rb
@@ -45,25 +45,11 @@
:body => "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"
})
-Page.create(:title => "News",
- :link_url => "/news",
- :menu_match => "^/news.*$",
- :deletable => false,
- :position => 3).parts.create(
- {
- :title => "body",
- :body => "<p>Want to know the latest? Here's what has been happening.</p>"
- }).page.parts.create(
- {
- :title => "Side Body",
- :body => "<p>Here we post up the latest about us, along with events and updates you don't want to miss!</p>"
- })
-
Page.create(:title => "Contact Us",
:link_url => "/inquiries/new",
:menu_match => "^/inquiries.*$",
:deletable => false,
- :position => 4).parts.create(
+ :position => 2).parts.create(
{
:title => "Body",
:body => "<p>Get in touch with us. Just use the form below and we'll get back to you as soon as we can.</p>"
@@ -77,7 +63,7 @@
:menu_match => "^/inquiries/thank_you$",
:show_in_menu => false,
:deletable => false,
- :position => 0,
+ :position => 3,
:parent_id => 4).parts.create(
{
:title => "Body",
@@ -88,7 +74,7 @@
:menu_match => "^/404$",
:show_in_menu => false,
:deletable => false,
- :position => 5).parts.create(
+ :position => 4).parts.create(
{
:title => "Body",
:body => "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"
@@ -97,7 +83,7 @@
Page.create(:title => "Privacy Policy",
:deletable => true,
:show_in_menu => false,
- :position => 6).parts.create(
+ :position => 5).parts.create(
{
:title => "Body",
:body => "<p><strong>We respect your privacy. We do not market, rent or sell our email list to any outside parties.</p><p>We need your e-mail address so that we can ensure that the people using our forms are bona fide. It also allows us to send you e-mail newsletters and other communications, if you opt-in. Your postal address is required in order to send you information and pricing, if you request it.</p><p>Please call us at 123 456 7890 if you have any questions or concerns.</p>"
@@ -110,11 +96,11 @@
Page.create(:title => "Down for maintenance",
:menu_match => "^/maintenance$",
:show_in_menu => false,
- :position => 7).parts.create(
+ :position => 6).parts.create(
{
:title => "Body",
:body => "<p>Our site is currently down for maintenance. Please try back later.</p>"
})
# Create a default themes directory.
-Rails.root.join("themes").mkdir unless Rails.root.join("themes").directory?
+Rails.root.join("themes").mkdir unless Rails.root.join("themes").directory?
View
2  readme.md
@@ -65,7 +65,7 @@ After your database exists, you'll need to install the gems that Refinery depend
rake gems:install
-Note: The news engine that was previously in Refinery's core was extracted into a separate gem / plugin to be found here:
+Note: The news engine that was previously in Refinery's core was extracted into a separate gem / plugin to be found here:p
http://github.com/resolve/refinerycms-news
View
2  vendor/plugins/themes/lib/theme_server.rb
@@ -27,4 +27,4 @@ def call(env)
end
end
-end
+end
View
2  vendor/plugins/themes/rails/init.rb
@@ -28,4 +28,4 @@
end
# Include theme functions into application helper.
-Refinery::ApplicationHelper.send :include, ThemesHelper
+Refinery::ApplicationHelper.send :include, ThemesHelper
Please sign in to comment.
Something went wrong with that request. Please try again.