spree_news 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -41,10 +41,8 @@ class Spree::Admin::PostsController < Spree::Admin::ResourceController
|
|
41
41
|
def destroy
|
42
42
|
@post = Spree::Post.find(params[:id])
|
43
43
|
if @post.destroy
|
44
|
-
flash[:notice] = "Post deleted successfully"
|
45
44
|
redirect_to admin_posts_path
|
46
45
|
else
|
47
|
-
flash[:alert] = "Error deleting post"
|
48
46
|
redirect_to :back
|
49
47
|
end
|
50
48
|
end
|
data/spree_news.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_news'
|
5
|
-
s.version = '0.0.
|
5
|
+
s.version = '0.0.5'
|
6
6
|
s.summary = 'Adds a Javascript enabled scrolling news feed ticker wherever you call it'
|
7
7
|
s.description = 'Provides an Admin view to create/edit posts which will be shown on the home page in a scrolling news ticker window below the products listing.'
|
8
8
|
s.required_ruby_version = '>= 1.9.2'
|