sailorproject / sailor

A Lua MVC Web Framework.
MIT License
921 stars 125 forks source link

Added page:json function, added dksjon dep, added unit test for page:… #92

Closed louis77 closed 8 years ago

louis77 commented 8 years ago

…json, modified docs to include page:json

This should conclude sailorproject/sailor/issues/86

louis77 commented 8 years ago

OMG... let me check that.

Etiene commented 8 years ago

awesome! didn't you suggest to also set the theme to nil, though?

louis77 commented 8 years ago

@Etiene As far as I understand is the whole theme-ing done in the Page:render function, which is not used by Page:json. I didn't see the need to nil the theme. Could you point me to the code where you think theme = nil would benefit?

Etiene commented 8 years ago

You are right! :)

Thanks for this great addition! :dancers: