# TODO: login required
def display(self, id):
c.search = h.get_object_or_404(SavedSearch, id=id)
c.gallery = GalleryWidget(search=c.search, page=c.user.primary_page)
elixir.session.commit()
redirect(url(controller="users", action="view", name=c.user.name))
# TODO: login required
def display(self, id):
c.search = h.get_object_or_404(SavedSearch, id=id)
c.gallery = GalleryWidget(search=c.search, page=c.user.primary_page)
elixir.session.commit()
redirect(url(controller="users", action="view", name=c.user.name))