I would like to know how can one change the following get request into much better readability form
small gist of the routes.rb file
resources :search, only: :index
I tried to edit the routes file into something like this
resources :search, only: :index get 'search/:destination' => 'search#index', as: search
the above works fine when i directly type in the url
but I cant create a form which takes the input from the user and post it in the particular format.
Am sorry but I guess the forum has changed a bit. I can’t set the category to ruby. I dont know why. maybe because my subscription ended?