beef-slides 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
@@ -72,12 +72,17 @@ class Admin::SlideShowsController < Admin::BaseController
|
|
72
72
|
# DELETE /slide_shows/1.xml
|
73
73
|
def destroy
|
74
74
|
@slide_show = SlideShow.find(params[:id])
|
75
|
-
@slide_show.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
75
|
+
if @slide_show.lock_level >0
|
76
|
+
flash[:notice] = 'This Slide Show is locked.'
|
77
|
+
redirect_to(:back)
|
78
|
+
else
|
79
|
+
@slide_show.destroy
|
80
|
+
flash[:notice] = 'SlideShow was successfully deleted.'
|
81
|
+
|
82
|
+
respond_to do |format|
|
83
|
+
format.html { redirect_to(admin_slide_shows_url) }
|
84
|
+
format.xml { head :ok }
|
85
|
+
end
|
81
86
|
end
|
82
87
|
end
|
83
88
|
end
|
data/slides.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{slides}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daniel Craig"]
|
12
|
-
s.date = %q{2009-09-
|
12
|
+
s.date = %q{2009-09-07}
|
13
13
|
s.email = %q{daniel@wearebeef.co.uk}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beef-slides
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Craig
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-07 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|