comparison blog/src/new.luan @ 693:ca169567ce07

module URIs must now include ".luan"
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Apr 2016 15:54:11 -0600
parents 6bb0c83116e9
children 1460d297e960
comparison
equal deleted inserted replaced
692:7bd97d642f37 693:ca169567ce07
1 local Luan = require "luan:Luan" 1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error 2 local error = Luan.error
3 local Io = require "luan:Io" 3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http" 4 local Http = require "luan:http/Http.luan"
5 local Post = require "site:/lib/Post" 5 local Post = require "site:/lib/Post.luan"
6 6
7 7
8 return function() 8 return function()
9 local subject = Http.request.parameter.subject 9 local subject = Http.request.parameter.subject
10 local content = Http.request.parameter.content 10 local content = Http.request.parameter.content