Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: railsware/js-routes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: parubets/js-routes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 4, 2013

  1. Update routes.js.coffee

    parubets committed Dec 4, 2013
    Copy the full SHA
    e4662df View commit details
  2. Update routes.js.coffee

    parubets committed Dec 4, 2013
    Copy the full SHA
    0100fc1 View commit details
  3. Update routes.js

    parubets committed Dec 4, 2013
    Copy the full SHA
    7065fe9 View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/routes.js
  2. +1 −1 lib/routes.js.coffee
2 changes: 1 addition & 1 deletion lib/routes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/routes.js.coffee
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ Utils =
clean_path: (path) ->
path = path.split("://")
last_index = path.length - 1
path[last_index] = path[last_index].replace(/\/+/g, "/")
path[last_index] = path[last_index].replace(/\/+/g, "/").replace(/(?<=.)\/$/m, "")
path.join "://"

set_default_url_options: (optional_parts, options) ->