Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
Use github raw instead of guides.emberjs.com because my system sucks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Apr 3, 2016
1 parent c5c50c4 commit 51e0742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -15,7 +15,7 @@ require './lib/meetups_data'
begin
require 'openssl'
require 'open-uri'
open('https://guides.emberjs.com/versions.json')
open('https://raw.githubusercontent.com/emberjs/guides.emberjs.com/master/snapshots/versions.json')
rescue OpenSSL::SSL::SSLError
puts <<-NOTICE.gsub(/^ /, '')
IMPORTANT NOTICE
Expand Down
2 changes: 1 addition & 1 deletion source/layouts/guide.erb
Expand Up @@ -4,7 +4,7 @@
require 'json'
require 'open-uri'

@version = JSON.parse(open('https://guides.emberjs.com/versions.json').read).last
@version = JSON.parse(open('https://raw.githubusercontent.com/emberjs/guides.emberjs.com/master/snapshots/versions.json').read).last
@path = current_page.url.gsub(/^\/guides/, '')
@new_url = "https://guides.emberjs.com/"
unless @path == '/'
Expand Down

0 comments on commit 51e0742

Please sign in to comment.