mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- set default / to /search
This commit is contained in:
parent
ddbf0ebe36
commit
807461e79e
1 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,9 @@ Merb::Router.prepare do
|
|||
# RESTful routes
|
||||
# resources :posts
|
||||
|
||||
# default page is search
|
||||
match('/').to(:controller => 'search', :action => 'index')
|
||||
|
||||
# This is the default route for /:controller/:action/:id
|
||||
# This is fine for most cases. If you're heavily using resource-based
|
||||
# routes, you may want to comment/remove this line to prevent
|
||||
|
@ -38,4 +41,4 @@ Merb::Router.prepare do
|
|||
|
||||
# Change this for your home page to be available at /
|
||||
# match('/').to(:controller => 'whatever', :action =>'index')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue