app: simplify main app
This commit is contained in:
parent
c992d1b080
commit
3b91237dd6
7
app.moon
7
app.moon
|
@ -1,11 +1,4 @@
|
||||||
lapis = require "lapis"
|
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
|
class App extends lapis.Application
|
||||||
@include "controllers.users"
|
@include "controllers.users"
|
||||||
|
|
Loading…
Reference in New Issue