Sha256: 4b8adb8ffd7022bb4d94d191833051fbb8660a8faa8271f39174b6503a6c3452

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

module ActionDispatch::Routing
 class Mapper
   def thesis_routes
      put "thesis/update_page_content" => "thesis/thesis#update_page_content"
      post "thesis/create_page" => "thesis/thesis#create_page"
      delete "thesis/delete_page" => "thesis/thesis#delete_page"

      get "*slug" => 'thesis/thesis#show', constraints: ::Thesis::RouteConstraint.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thesis-0.1.3 lib/thesis/routing/routes.rb