Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cb92a2b924
Fetching contributors…

Cannot retrieve contributors at this time

file 8 lines (8 sloc) 0.267 kb
1 2 3 4 5 6 7 8
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)
  end
end
Something went wrong with that request. Please try again.