cartoonist-blog 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ class BlogAdminController < ApplicationController
|
|
38
38
|
|
39
39
|
def create
|
40
40
|
url_title = BlogPost.url_titlize params[:title]
|
41
|
-
post = BlogPost.create :title => params[:title], :url_title => url_title, :content => params[:content], :author =>
|
41
|
+
post = BlogPost.create :title => params[:title], :url_title => url_title, :content => params[:content], :author => current_user.name, :tweet => tweet_message(url_title), :locked => true
|
42
42
|
redirect_to "/blog_admin/#{post.id}/edit"
|
43
43
|
end
|
44
44
|
|
data/app/models/blog_post.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cartoonist-blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cartoonist
|
16
|
-
requirement: &
|
16
|
+
requirement: &17149620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *17149620
|
25
25
|
description: This core plugin for Cartoonist adds a simple blog.
|
26
26
|
email: reasonnumber@gmail.com
|
27
27
|
executables: []
|