app/controllers/admin/pages_controller.rb in merrycms-0.1.2 vs app/controllers/admin/pages_controller.rb in merrycms-0.1.4
- old
+ new
@@ -9,10 +9,9 @@
end
def index
@search = Page.includes(:category).search(params[:search])
@pages = @search.order("created_at desc").page(params[:page])
- puts @pages # hack for kaminari
end
def new
@page = Page.new
end
\ No newline at end of file