module Daimon::Exhibition
Constants
- VERSION
Public Class Methods
routes(exhibit, router)
click to toggle source
# File lib/daimon/exhibition.rb, line 5 def routes(exhibit, router) router.instance_eval do # TODO `resources` だけで表現したい resources exhibit, only: %i(index destroy) do post '/', action: :create, on: :member delete '/', action: :destroy_all, on: :collection end end end