Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .rvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rvm ruby-1.9.2-p290@ruby-blog
rvm ruby-1.9.2-p290@ruby-blog --create
Empty file modified app/assets/images/no-avatar.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/controllers/administration/comments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Administration::CommentsController < Administration::MainController
before_filter :find_comment, :except => [:index, :new, :create]
before_filter :build_comment, :only => [:new, :create]
def index
@search = Comment.includes(:post).search(params[:search] || {"meta_sort" => "id.asc"})
@search = Comment.includes(:post).search(params[:search] || {"meta_sort" => "id.desc"})
@comments = @search.paginate(:per_page => 50, :page => params[:page])
end

Expand Down
Empty file modified script/rails
100755 → 100644
Empty file.