Skip to content

Commit 18b15f5

Browse files
committed
Neccessary fix to make search available again
1 parent 850ef3b commit 18b15f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
post 'new/:post_type', to: 'posts#create', as: :create_post
7373
post 'new/:post_type/respond/:parent', to: 'posts#create', as: :create_response
7474
post 'new/:post_type/:category', to: 'posts#create', as: :create_category_post
75+
get 'search', to: 'search#search', as: :search
7576

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

7879
get ':id/history', to: 'post_history#post', as: :post_history
79-
get 'search', to: 'search#search', as: :search
8080
post 'upload', to: 'posts#upload', as: :upload
8181
post 'save-draft', to: 'posts#save_draft', as: :save_draft
8282
post 'delete-draft', to: 'posts#delete_draft', as: :delete_draft

0 commit comments

Comments
 (0)