rsvp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/controllers/rsvp/session_controller.rb +7 -0
- data/lib/rsvp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2MzMzI5ZGZhZWZhNDk1YjgzMmE4OGJkZjdhYmIyNzczYTVmZjEzMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGYyZTA0MzU5MDgwY2E2MWI5ODIxYWU5NmE1NDU5ZWFmZGZkYmFjNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzE2ZTg5MzA2YzU1N2NmMTE2NTk5OTA4MWQ4NjU1NWYyNGZjMWMxZTQ2ODg5
|
10
|
+
N2VlMDZmYTJkM2RhN2VhOGNmNjA4NzcwNjcyOTIxYTllNzcwMDNjMmRlNWQ1
|
11
|
+
M2QzYTA4NDQwM2JmNzNjOTFmNjRhNTg1MGJkMTE4MDQ5OTM0Mjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTczMmU2MGIwMGUyNzk0NzQzNDI2MTUyZjNmYzA2MGViZjk5YWUyNjNmZWUz
|
14
|
+
MGIxNjEwYWJkODYwOGE4NGI1MjAxZjExNTkxMGZhYzFiN2UwMjIzOTYwMjQw
|
15
|
+
ZWFjMGQyNWVjM2Q5OTkxODgxZmVhNzA4YjdjOTkyMzJmNjczMDk=
|
@@ -20,6 +20,13 @@ module Rsvp
|
|
20
20
|
# DELETE /session
|
21
21
|
def destroy
|
22
22
|
session[:invitation_id] = nil
|
23
|
+
redirect_after_destroy
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
# Allows for easy override from wrapping application
|
29
|
+
def redirect_after_destroy
|
23
30
|
redirect_to root_path, notice: "Thank you for your response!"
|
24
31
|
end
|
25
32
|
end
|
data/lib/rsvp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsvp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Ricard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|