upgrade to mongo_mapper 0.7.0
This commit is contained in:
1 parent
e2a6d9fe0d
commit
e87b3c1d61
4 files changed
+4
-4
No files matched your search
@@ -5,7 +5,7 @@ class Panel::AnnouncementsController < ApplicationController
|
||||
layout "admin"
|
||||
|
||||
def index
|
||||
@announcements = Announcement.find(:all, :conditions => { :entry_name => params[:entry_name] })
|
||||
@announcements = Announcement.all( :conditions => { :entry_name => params[:entry_name] })
|
||||
end
|
||||
|
||||
def new
|
||||
|
||||
Reference in new issue
Block a user