Implements OPTIONS http verb for root path

close #294
This commit is contained in:
Chrisbr 2014-07-08 09:14:16 +02:00
parent 53a30439ca
commit 61f913b727
3 changed files with 41 additions and 2 deletions

View file

@ -114,6 +114,5 @@ Osem::Application.routes.draw do
get "/admin" => redirect("/admin/conference")
root :to => "home#index"
root to: 'home#index', via: [:get, :options]
end