Skip to content

Commit

Permalink
Refinery::Page may not always be defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Oct 29, 2011
1 parent 1b6b0e8 commit 2abd15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/refinerycms-search.rb
Expand Up @@ -9,7 +9,7 @@ class << self
attr_accessor :searchable_models attr_accessor :searchable_models


def searchable_models def searchable_models
@searchable_models ||= [Refinery::Page] @searchable_models ||= [(::Refinery::Page if defined?(::Refinery::Page))]
end end
end end
end end
Expand Down

0 comments on commit 2abd15b

Please sign in to comment.