GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Operator » call routing error
Re: call routing error [message #148329 is a reply to message #148282] Sat, 20 June 2020 14:35 Go to previous message
Lewis-H is currently offline  Lewis-H
Messages: 11
Registered: December 2019
Try this

namespace :admin do
resources :posts , :categories
get '', to: 'posts#index', as: '/'
end

scope "(:locale)", :constraints => {:locale => /[a-zA-Z]{2}/} do
...
root :to => 'site#home', :via => :get
...
end
Output of rake routes

admin GET /admin(.:format) admin/posts#index
Tried with get localhost:3000/admin

Started GET "/admin" for 127.0.0.1 at 2013-06-11 17:41:40 +0700
Processing by Admin::PostsController#index as HTML
Rendered admin/posts/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 1095ms (Views: 1095.1ms | ActiveRecord: 0.0ms)
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Forwarded calls: No audio
Next Topic: Modifying sip.conf
Goto Forum:
  


Current Time: Fri Jun 02 07:10:12 CEST 2023

Total time taken to generate the page: 0.05697 seconds