Skip to content
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.

Commit

Permalink
move to radix
Browse files Browse the repository at this point in the history
  • Loading branch information
drujensen committed May 11, 2017
1 parent a4b1c70 commit 0ecb1a0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ shards:

teeplate:
github: mosop/teeplate
version: 0.4.4
version: 0.4.5

9 changes: 0 additions & 9 deletions src/templates/app/config/routes.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ require "../src/controllers/*"

include Kemalyst::Handler

# This is an example of how to configure the Basic Authentication handler for
# a path. In this example, Basic Authentication is configured for the whole
# site. You could also have added this to the application.cr instead.
# all "/*", Kemalyst::Handler::BasicAuth.instance("admin", "password")

post "/*", CSRF
put "/*", CSRF
patch "/*", CSRF

# This is how to setup the root path:
get "/", HomeController::Index

Expand Down
1 change: 1 addition & 0 deletions src/templates/app/docker-compose.yml.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
- '.:/app/user'

migrate:
build: .
image: <%= @name %>
command: bash -c '<%= @wait_for %>kgen migrate up'
working_dir: /app/user
Expand Down
2 changes: 1 addition & 1 deletion src/templates/app/shard.yml.ecr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license: MIT
dependencies:
kemalyst:
github: drujensen/kemalyst
version: ~> 0.6.1
version: ~> 0.7.0
<% case @database when "pg" %>
pg:
github: will/crystal-pg
Expand Down

0 comments on commit 0ecb1a0

Please sign in to comment.