• R/O
  • SSH
  • HTTPS

mail2weblog: Commit


Commit MetaInfo

Revision1034 (tree)
Time2013-08-09 10:46:00
Authortoy_dev

Log Message

投稿済みリンクの取得ロジックを修正

Change Summary

Incremental Difference

--- trunk/main/plugin/weblog/lib/standard_edit.rb (revision 1033)
+++ trunk/main/plugin/weblog/lib/standard_edit.rb (revision 1034)
@@ -129,10 +129,8 @@
129129
130130 after_edit(client, request, response)
131131
132- if @get_plugin then
133- (post, description, link) = @get_plugin.get_article(client, postid)
134- response[:link] = link
135- end
132+ (post, description, link) = get_article(client, postid)
133+ response[:link] = link
136134
137135 @logger.debug("Finish #{self.class.name}#edit ... result = true") if @logger && @logger.debug?
138136 response.success = true
--- trunk/main/plugin/weblog/lib/standard_post.rb (revision 1033)
+++ trunk/main/plugin/weblog/lib/standard_post.rb (revision 1034)
@@ -133,10 +133,8 @@
133133
134134 after_post(client, request, response)
135135
136- if @get_plugin then
137- (post, description, link) = @get_plugin.get_article(client, postid)
138- response[:link] = link
139- end
136+ (post, description, link) = get_article(client, postid)
137+ response[:link] = link
140138 rescue => e
141139 @logger.error("ブログ記事の投稿に失敗しました。") if @logger
142140 @logger.error(e) if @logger
Show on old repository browser