Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
新規投稿: 画像URLで投稿できない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Nov 13, 2013
1 parent e775034 commit 888dd17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/clip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ def thumb_size_for_style_sheet
end

def create_html_only_images
self.listup_image_urls_from_html.map do |url|
images = [ @url ] if @url
images ||= self.listup_image_urls_from_html
images.map do |url|
ActionController::Base.helpers.image_tag(url)
end.join
end
Expand Down

0 comments on commit 888dd17

Please sign in to comment.