* added a presenter for hovercard json * added new backbone view for handling hovercard JS * refactoring of PeopleController * finished the backbone js version of hovercards * don't try to make people_controller more restfull, out of scope just add a new route and use that for hovercard json * added spec for people_controller#hovercard * add new exception for "AccountClosed" to be able to raise from anywhere * removed legacy code, since everything got ported to backbone (except the "cache" stuff, but that's not strictly necessary)
14 lines
413 B
Ruby
14 lines
413 B
Ruby
# Copyright (c) 2010-2012, Diaspora Inc. This file is
|
|
# licensed under the Affero General Public License version 3 or later. See
|
|
# the COPYRIGHT file.
|
|
|
|
module Diaspora
|
|
# the post in question is not public, and that is somehow a problem
|
|
class NonPublic < StandardError
|
|
end
|
|
|
|
# the account was closed and that should not be the case if we want
|
|
# to continue
|
|
class AccountClosed < StandardError
|
|
end
|
|
end
|