Skip to content

Commit

Permalink
Merge pull request jejacks0n#66 from BenMorganIO/remove-splat-for-sin…
Browse files Browse the repository at this point in the history
…gle-page-apps

don't splat paths if the app is single page
  • Loading branch information
jejacks0n authored Aug 6, 2016
2 parents 93cdad1 + d8a3062 commit b618c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apitome::Engine.routes.draw do
root to: "docs#index"
get "/simulate/*path", to: "docs#simulate"
get "/*path", to: "docs#show"
get "/*path", to: "docs#show" unless Apitome.configuration.single_page
end

0 comments on commit b618c5d

Please sign in to comment.