diff options
author | mr <mr@mrautenberg.de> | 2011-10-04 14:28:45 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-10-04 14:28:45 +0200 |
commit | a5767b5287ce6c57407623605debc6d1fe723f22 (patch) | |
tree | b2e7afd81ccf7ef854bb96b70d5b2b8117a7d309 | |
parent | b9a280f0771dd671f2eac3b7d23b988b0e764153 (diff) |
redirect if create
-rw-r--r-- | application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application.rb b/application.rb index 10507c3..defe377 100644 --- a/application.rb +++ b/application.rb @@ -194,6 +194,7 @@ end =begin =end get '/create' do + redirect url_for('/predict') unless is_aluist haml :create end get '/help' do |