Ignore:
Timestamp:
01/04/09 17:08:10 (11 years ago)
Author:
cbyrom
Message:

Add new home page for the browse service + implement usage of the
before methods on controllers to check if MILK is set up to
allow the various services before the controller methods are invoked.
Also add a top level default controller to redirect user to the correct
home page depending on the mode of operation + improve styles,
remove unused controller and move error template to more general top
level - for re-use across the MILK stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py

    r5136 r5158  
    173173        elif uri: 
    174174            # something has gone wrong here... 
    175             return render("genshi", 'atom_editor/error') 
     175            return render("genshi", 'error') 
    176176        else: 
    177177            return self.createGranule(**self.inputs) 
     
    380380         
    381381        response.status_code = 400 
    382         return render("genshi", 'atom_editor/error') 
     382        return render("genshi", 'error') 
    383383 
    384384 
Note: See TracChangeset for help on using the changeset viewer.