User to_id on groups_with_post
This commit is contained in:
parent
e714e0d457
commit
ad67798004
2 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ class User
|
|||
end
|
||||
|
||||
def groups_with_post( id )
|
||||
self.groups.find_all_by_post_ids( id )
|
||||
self.groups.find_all_by_post_ids( id.to_id )
|
||||
end
|
||||
|
||||
def groups_with_person person
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
= stylesheet_link_tag "/../javascripts/fancybox/jquery.fancybox-1.3.1"
|
||||
|
||||
/= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
|
||||
= javascript_include_tag 'jquery142', 'rails', 'google'
|
||||
= javascript_include_tag 'jquery-1.4.2.min', 'rails', 'google'
|
||||
= javascript_include_tag 'jquery.infieldlabel', 'jquery.cycle/jquery.cycle.min.js'
|
||||
|
||||
= javascript_include_tag 'fancybox/jquery.fancybox-1.3.1.pack'
|
||||
|
|
|
|||
Loading…
Reference in a new issue