Skip to content

Commit 90ca287

Browse files
committed
Support indexing attachments using sunspot_cell
1 parent 85917dc commit 90ca287

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
gem 'sunspot_rails', '2.5.0'
2+
gem 'sunspot_cell', :git => "https://github.com/waterfield/sunspot_cell.git", :branch => "2.3.0"
23
gem 'will_paginate', '~> 3.1.3'
34

45
group :development do

lib/redmine_redsun/attachment_patch.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def self.included(base) # :nodoc:
5252
# Name of Project
5353
string :project_name, stored: true
5454

55+
# Content
56+
attachment :diskfile
5557
end
5658
end
5759
end

0 commit comments

Comments
 (0)