Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 267 Bytes
Routes = Raptor.routes do
path "posts" do
# We could also scope all route targets inside Interactors, allowing this
# to say :to => "CreatePost.create".
create :to => "Interactors::CreatePost.create",
:ValidationFailure => render(:new)
Jump to Line
Something went wrong with that request. Please try again.