lib/mtdevise/scoped_to.rb in mtdevise-3.10.1 vs lib/mtdevise/scoped_to.rb in mtdevise-3.10.2
- old
+ new
@@ -1,7 +1,9 @@
module Mtdevise
module ScopedTo
+
def scoped_to(account)
where(:account_id => account.id)
end
+
end
-end
+end
\ No newline at end of file