Skip to content

Commit

Permalink
Neccessary fix to make search available again
Browse files Browse the repository at this point in the history
  • Loading branch information
judoka2015 committed Dec 16, 2020
1 parent 850ef3b commit 18b15f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
post 'new/:post_type', to: 'posts#create', as: :create_post
post 'new/:post_type/respond/:parent', to: 'posts#create', as: :create_response
post 'new/:post_type/:category', to: 'posts#create', as: :create_category_post
get 'search', to: 'search#search', as: :search

get ':id', to: 'posts#show', as: :post

get ':id/history', to: 'post_history#post', as: :post_history
get 'search', to: 'search#search', as: :search
post 'upload', to: 'posts#upload', as: :upload
post 'save-draft', to: 'posts#save_draft', as: :save_draft
post 'delete-draft', to: 'posts#delete_draft', as: :delete_draft
Expand Down

0 comments on commit 18b15f5

Please sign in to comment.