Skip to content

Commit

Permalink
daily_active_users to application, likes to photos
Browse files Browse the repository at this point in the history
  • Loading branch information
vandux committed Apr 1, 2012
1 parent cd9fc21 commit 4101888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mogli/application.rb
@@ -1,7 +1,7 @@
module Mogli
class Application < Model

define_properties :id, :name, :description, :category, :subcategory, :link, :canvas_name, :namespace, :icon_url, :logo_url, :weekly_active_users, :monthly_active_users
define_properties :id, :name, :description, :category, :subcategory, :link, :canvas_name, :namespace, :icon_url, :logo_url, :weekly_active_users, :monthly_active_users, :daily_active_users

has_association :feed, "Post"
has_association :posts, "Post"
Expand Down
2 changes: 1 addition & 1 deletion lib/mogli/photo.rb
@@ -1,7 +1,7 @@
module Mogli
class Photo < Model
define_properties :id, :name, :tags, :picture, :source, :height, :width, :images, :link, :icon,
:created_time, :updated_time, :position, :comments
:created_time, :updated_time, :position, :comments, :likes
creation_properties :message

hash_populating_accessor :from, "User","Page"
Expand Down

0 comments on commit 4101888

Please sign in to comment.