beef-articles 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -1,11 +1,11 @@
1
1
  class Admin::ArticlesController < Admin::BaseController
2
2
  unloadable
3
- sortable_attributes :title, :permalink, :published_at, :published_to, :body, :description, :allow_comments
3
+ sortable_attributes :published_at, :title, :permalink, :published_to, :body, :description, :allow_comments
4
4
 
5
5
  # GET /articles
6
6
  # GET /articles.xml
7
7
  def index
8
- @articles = Article.paginate :page => params[:page], :order => sort_order(:default => 'publised_at DESC')
8
+ @articles = Article.paginate :page => params[:page], :order => sort_order(:default => 'desc')
9
9
 
10
10
  respond_to do |format|
11
11
  format.html # index.html.erb
data/articles.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{articles}
5
- s.version = "0.3.4"
5
+ s.version = "0.3.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Steve England"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-articles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England