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

Commit

Permalink
Add Gollum.assets_path hook
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed Apr 25, 2012
1 parent 833953d commit 9b92e9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/gollum.rb
Expand Up @@ -23,6 +23,10 @@
module Gollum
VERSION = '1.4.2'

def self.assets_path
::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
end

class Error < StandardError; end

class DuplicatePageError < Error
Expand Down

0 comments on commit 9b92e9d

Please sign in to comment.