diff --git a/Gemfile b/Gemfile index ef6d548..ccb429a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ gem 'sunspot_rails', '2.5.0' +gem 'sunspot_cell', :git => "https://github.com/waterfield/sunspot_cell.git", :branch => "2.3.0" gem 'will_paginate', '~> 3.1.3' group :development do diff --git a/lib/redmine_redsun/attachment_patch.rb b/lib/redmine_redsun/attachment_patch.rb index 584eb9c..9deb97e 100644 --- a/lib/redmine_redsun/attachment_patch.rb +++ b/lib/redmine_redsun/attachment_patch.rb @@ -52,6 +52,8 @@ def self.included(base) # :nodoc: # Name of Project string :project_name, stored: true + # Content + attachment :diskfile end end end