Permalink
Browse files

Merge branch 'development'

  • Loading branch information...
2 parents bd13f7c + 9f5e7e7 commit 35591663baaa04216e0fd8bcfaffcea8149ea83e @marcgg committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/front_controller.rb
@@ -19,7 +19,7 @@ def about
end
def most_recent
- @photos = Photo.where(["category_id IN (?)", @portfolio.categories.map(&:id)]).limited.ordered_by_date
+ @photos = Photo.where(["category_id IN (?)", @portfolio.categories.map(&:id)]).limited.activated.ordered_by_date
respond_to do |format|
format.html
format.rss { render :layout => false }

0 comments on commit 3559166

Please sign in to comment.