diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index fa6d748..6e435f2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,14 +24,18 @@ Rails.application.routes.draw do end resources :characters, only: [:show, :new, :create] do - post "/combat_styles", to: "characters#set_combat_styles" + post "/combat_styles", to: "characters#set_combat_styles", on: :member scope module: :characters do get "/rankings", to: "rankings#index" + get :bestiary, to: "bestiary#index" post "/items/unequip/:slot", to: "items#unequip", as: :item_unequip + resources :item_infixes, only: [:create, :destroy] resources :items, only: [:index] do post "/equip", to: "items#equip" post "/use", to: "items#use" end + resources :skills, only: [:index] + resources :spells, only: [:index] resources :titles, only: [:index] do post "/activate", to: "titles#activate" end |