Skip to content

Commit

Permalink
Cruft
Browse files Browse the repository at this point in the history
@configuration needs these, not @Initializer
  • Loading branch information
Josh French committed Dec 23, 2009
1 parent ad13077 commit 61d2427
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/radiant/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,6 @@ def initialize_routing
super
end

def extensions
@extensions ||= all_available_extensions
end

def all_available_extensions
extension_paths.map do |path|
Dir["#{path}/*"].select {|f| File.directory?(f) }
end.flatten.map {|f| File.basename(f).sub(/^\d+_/, '') }.sort.map(&:to_sym)
end

def admin
configuration.admin
end
Expand Down

0 comments on commit 61d2427

Please sign in to comment.