Skip to content

Commit

Permalink
add routes
Browse files Browse the repository at this point in the history
  • Loading branch information
topcook committed Aug 23, 2022
1 parent c858226 commit 685cc48
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html


get 'book/list'
get 'book/new'
post 'book/create'
patch 'book/update'
get 'book/list'
get 'book/show'
get 'book/edit'
get 'book/delete'
get 'book/update'
get 'book/show_subjects'
# Defines the root path route ("/")
# root "articles#index"
end

0 comments on commit 685cc48

Please sign in to comment.