Update search routes to use POST instead of GET
This commit is contained in:
parent
88f316d6a7
commit
29b533d104
2 changed files with 7 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ Rails.application.routes.draw do
|
|||
post 'check/email', to: 'users#check_email'
|
||||
post 'check/username', to: 'users#check_username'
|
||||
|
||||
get 'search/characters', to: 'search#characters'
|
||||
get 'search/weapons', to: 'search#weapons'
|
||||
get 'search/summons', to: 'search#summons'
|
||||
post 'search/characters', to: 'search#characters'
|
||||
post 'search/weapons', to: 'search#weapons'
|
||||
post 'search/summons', to: 'search#summons'
|
||||
|
||||
get 'raids', to: 'raids#all'
|
||||
get 'weapon_keys', to: 'weapon_keys#all'
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ ActiveRecord::Schema.define(version: 2022_03_09_013333) do
|
|||
enable_extension "pg_trgm"
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
enable_extension "timescaledb"
|
||||
|
||||
create_table "characters", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.string "name_en"
|
||||
|
|
@ -99,6 +100,9 @@ ActiveRecord::Schema.define(version: 2022_03_09_013333) do
|
|||
t.integer "element"
|
||||
t.index ["party_id"], name: "index_grid_weapons_on_party_id"
|
||||
t.index ["weapon_id"], name: "index_grid_weapons_on_weapon_id"
|
||||
t.index ["weapon_key1_id"], name: "index_grid_weapons_on_weapon_key1_id"
|
||||
t.index ["weapon_key2_id"], name: "index_grid_weapons_on_weapon_key2_id"
|
||||
t.index ["weapon_key3_id"], name: "index_grid_weapons_on_weapon_key3_id"
|
||||
end
|
||||
|
||||
create_table "oauth_access_grants", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Reference in a new issue