mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-21 06:34:07 +01:00
change message gateway to save received email as attachment to the todo
This commit is contained in:
parent
76de5bf2b3
commit
4d7c453ca7
4 changed files with 51 additions and 2 deletions
10
config/initializers/paperclip.rb
Normal file
10
config/initializers/paperclip.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#config/initilizers/paperclip.rb
|
||||
require 'paperclip/media_type_spoof_detector'
|
||||
|
||||
module Paperclip
|
||||
class MediaTypeSpoofDetector
|
||||
def spoofed?
|
||||
false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -90,6 +90,7 @@ Rails.application.routes.draw do
|
|||
get 'convert_to_project' # TODO: convert to PUT/POST
|
||||
delete 'remove_predecessor' # TODO: convert to PUT/POST
|
||||
post 'change_context'
|
||||
get 'attachment'
|
||||
end
|
||||
collection do
|
||||
get 'done'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue