panel/app.moon

17 lines
359 B
Plaintext

lapis = require "lapis"
db = require "lapis.db"
csrf = require "lapis.csrf"
encoding = require "lapis.util.encoding"
import respond_to from require "lapis.application"
require "models.user"
class App extends lapis.Application
@include "controllers.users"
@include "controllers.freeswitch"
[index: "/"]: =>
@user = @session.user
render: true