Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

autoload

  • Loading branch information...
commit 921f918fa8f04bf6b2bb1bde491d15bc072ef74b 1 parent 715c38c
@vovazolotoy vovazolotoy authored
View
8 application/bootstrap.js
@@ -0,0 +1,8 @@
+
+Johana.modules({
+ cache: MODPATH + 'cache'
+});
+
+Johana.init({profile: false});
+
+Johana.conf.attach(new ConfigFile());
View
6 application/config/vova.js
@@ -0,0 +1,6 @@
+
+module.exports = {
+ name: 'vova',
+ lname: 'zolotoy',
+ age:23
+};
View
10 application/routes.js
@@ -0,0 +1,10 @@
+
+
+Route.set('auth', '<action>', {
+ action: '(join|login|logout|activation|restore)'
+ }).defaults({
+ directory: 'account',
+ controller: 'auth',
+ action: 'login'
+ });
+
View
2  application/views/hello.tpl
@@ -0,0 +1,2 @@
+
+ <h1>Hello <%=name%></h1>
View
3  modules/cache/init.js
@@ -0,0 +1,3 @@
+
+
+console.log('init cache');
Please sign in to comment.
Something went wrong with that request. Please try again.