Permalink
Switch branches/tags
Nothing to show
Commits on Jan 18, 2010
  1. First pass at adding ability to conventionally specify HTTP method co…

    joshuaflanagan committed Jan 17, 2010
    …nstraints for routes.
    
    This will allow to make POST-only or GET-only Actions.
    The configuration DSL likely needs work. Need to figure out how to handle conflicts
    (should we allow multiple constraints to apply to the same action?)
    
    To see it in action, open a browser to the FubuMVC.HelloWorld website
    - go to limitmethods/querygreeting, it should render properly
    - click the first submit button to POST back to that page - it should fail, since the action is registered to only respond to GETs.
    - click the second submit button to POST to limitmethods/greetingcommand - it should succeed
    - click the link on limitmethods/greetingcommand to load that page via GET - it should fail, since the action is registered for POST only
Commits on Jan 16, 2010
  1. Polishing up the HtmlTags API

    joshuaflanagan committed Jan 13, 2010
    - Change With() to Modify()
    - Get rid of Add() overload that allows you to specify classes
    - Throw exception if caller attempts to add a css class with a space in the name
Commits on Jan 15, 2010
  1. Brute force spike to render a spark view with a strongly typed model

    joshuaflanagan committed Jan 15, 2010
    Locates spark views using the file system
Commits on Jan 12, 2010