Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Let the model require acts_as_indexed.

  • Loading branch information...
commit 633576a318adb2104d7654a0c955b92d5ef0eb36 1 parent 37e592a
Philip Arndt authored
4 app/models/refinery/setting.rb
... ... @@ -1,3 +1,5 @@
  1 +require 'acts_as_indexed'
  2 +
1 3 module Refinery
2 4 class Setting < Refinery::Core::BaseModel
3 5 extend FriendlyId
@@ -25,7 +27,7 @@ class Setting < Refinery::Core::BaseModel
25 27 after_save do |setting|
26 28 setting.class.rewrite_cache
27 29 end
28   -
  30 +
29 31 after_destroy do |setting|
30 32 setting.class.rewrite_cache
31 33 end
1  lib/refinery/settings.rb
... ... @@ -1,5 +1,4 @@
1 1 require 'refinerycms-core'
2   -require 'acts_as_indexed'
3 2
4 3 module Refinery
5 4 autoload :SettingsGenerator, 'generators/refinery/settings_generator'

0 comments on commit 633576a

Please sign in to comment.
Something went wrong with that request. Please try again.