mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Merge pull request #912 from jvsoares/master
Updated the view generator to include the proper require statement
This commit is contained in:
commit
6f338aa2d7
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ BANNER
|
|||
end
|
||||
|
||||
module GitHubApiHelper
|
||||
require 'open-uri'
|
||||
|
||||
def get_files_in_master
|
||||
master_tree_sha = open('https://api.github.com/repos/amatsuda/kaminari_themes/git/refs/heads/master') do |json|
|
||||
ActiveSupport::JSON.decode(json.read)['object']['sha']
|
||||
|
|
Loading…
Reference in a new issue