updates to make RSVPs work

This commit is contained in:
Evan Prodromou
2011-03-09 12:28:25 -05:00
parent 728869e311
commit 35429c28e5
9 changed files with 638 additions and 99 deletions

View File

@@ -157,6 +157,10 @@ class NeweventAction extends Action
$this->description,
$this->url);
$event = Happening::fromNotice($saved);
RSVP::saveNew($profile, $event, RSVP::POSITIVE);
} catch (ClientException $ce) {
$this->error = $ce->getMessage();
$this->showPage();