lib/caboodle/kits/github/github.rb in caboodle-0.1.3 vs lib/caboodle/kits/github/github.rb in caboodle-0.1.4
- old
+ new
@@ -1,12 +1,7 @@
-
-
module Caboodle
class Github < Caboodle::Kit
-
- set :views, File.join(File.dirname(__FILE__), "views")
- set :public, File.join(File.dirname(__FILE__), "public")
-
+
get "/code" do
@title = "Code"
@repos = GithubAPI.repositories
@repos.sort!{|a, b| a.watchers <=> b.watchers}.reverse!
\ No newline at end of file