spud_blog 0.6.0 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,6 @@ class BlogController < ApplicationController
6
6
  layout Spud::Blog.base_layout
7
7
 
8
8
  caches_action :show, :index,
9
- :layout => false,
10
9
  :expires => Spud::Blog.config.caching_expires_in,
11
10
  :if => Proc.new{ |c|
12
11
  Spud::Blog.config.caching_enabled && !(c.params[:page] && c.params[:page].to_i > 1)
@@ -4,7 +4,6 @@ class NewsController < ApplicationController
4
4
  layout Spud::Blog.news_layout
5
5
 
6
6
  caches_action :show, :index,
7
- :layout => false,
8
7
  :expires => Spud::Blog.config.caching_expires_in,
9
8
  :if => Proc.new{ |c|
10
9
  Spud::Blog.config.caching_enabled && !(c.params[:page] && c.params[:page].to_i > 1)
@@ -45,7 +45,7 @@ class Spud::Admin::NewsPostsController < Spud::Admin::ApplicationController
45
45
  def destroy
46
46
  if @post.destroy
47
47
  flash[:notice] = 'News Post was successfully deleted.'
48
- expire_news_actions(@post)
48
+ expire_news_actions
49
49
  end
50
50
  respond_with @post, :location => spud_admin_news_posts_path
51
51
  end
@@ -1,5 +1,5 @@
1
1
  <%=content_for :head do%>
2
- <link rel="alternate" type="application/rss+xml" title="<%=Spud::Core.site_name%> Blog RSS" href="<%=blog_url()%>" />
2
+ <link rel="alternate" type="application/rss+xml" title="<%=Spud::Core.site_name%> Blog RSS" href="<%=blog_url(:format => :rss)%>" />
3
3
  <%end%>
4
4
  <div id="spud_blog_filters">
5
5
  <%= form_tag blog_path, :class => 'spud_blog_filter_form' do %>
@@ -1,5 +1,5 @@
1
1
  <%=content_for :head do%>
2
- <link rel="alternate" type="application/rss+xml" title="<%=Spud::Core.site_name%> News RSS" href="<%=news_url()%>" />
2
+ <link rel="alternate" type="application/rss+xml" title="<%=Spud::Core.site_name%> News RSS" href="<%=news_url(:format => :rss)%>" />
3
3
  <%end%>
4
4
  <div id="spud_news_filters">
5
5
  <%= form_tag news_path, :class => 'spud_blog_filter_form' do %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spud_core
16
- requirement: &70347903377340 !ruby/object:Gem::Requirement
16
+ requirement: &70105040860180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.6.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70347903377340
24
+ version_requirements: *70105040860180
25
25
  description:
26
26
  email: greg@westlakedesign.com
27
27
  executables: []