Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghal committed May 6, 2013
1 parent 9cecdf9 commit 11b88bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/waywework.css
Expand Up @@ -143,3 +143,7 @@ padding: 5px;
.right_column ul#authors, ul#archives { display: none; }
#authors li { background-color: #EEEEEE; padding: 0.25em 1em;}
#authors li a { text-decoration: none; color: #666;}
#archives li a { text-decoration: none; }
#archives { padding: 0 1em; }


2 changes: 1 addition & 1 deletion app/models/post.rb
Expand Up @@ -15,7 +15,7 @@

class Post < ActiveRecord::Base
scope :most_recent_first, -> { order('posts.published desc') }
scope :by_date_published, -> { lambda {|date| where(["published <= ? and published >= ?", date.end_of_month, date.beginning_of_month]) } }
scope :by_date_published, lambda {|date| where(["published <= ? and published >= ?", date.end_of_month, date.beginning_of_month]) }

@styleClass = :blue
attr_accessor :styleClass
Expand Down

0 comments on commit 11b88bd

Please sign in to comment.