app/controllers/wall_comments_controller.rb
# Return a string for the resource.
Return a string for the resource.
Return a string for the resource .
def resource
      if wall?
        "wall"
      elsif group_wall?
        "group_wall"
      elsif blog?
        "blog_post"
      elsif photo?
        "photo"
      elsif event?
        "event"
      end
    end
def resource if wall? "wall" elsif group_wall? "group_wall" elsif blog? "blog_post" elsif photo? "photo" elsif event? "event" end end
Return a string for the resource.
Return a string for the resource .