Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of git@github.com:knewter/ansuz
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Oct 15, 2008
2 parents 6e58d41 + 692d80d commit 543d316
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Expand Up @@ -7,7 +7,7 @@ class ArticlesController < ApplicationController

protected
def load_blog_posts
@blog_posts = Ansuz::JAdams::BlogPost.find(:all)
@blog_posts = Ansuz::JAdams::BlogPost.find(:all, :order => 'created_at DESC')
end

def load_blog_post
Expand Down
7 changes: 7 additions & 0 deletions vendor/plugins/haml/init.rb
@@ -0,0 +1,7 @@
begin
require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
rescue LoadError
require 'haml' # From gem
end

Haml.init_rails(binding)

0 comments on commit 543d316

Please sign in to comment.