sooner 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,9 +18,9 @@ module Sooner
|
|
18
18
|
result = @subscriber.save
|
19
19
|
end
|
20
20
|
if result
|
21
|
-
format.html { render "subscribed" }
|
21
|
+
format.html { render :partial => "subscribed" }
|
22
22
|
else
|
23
|
-
format.html { render "already_subscribed" }
|
23
|
+
format.html { render :partial => "already_subscribed" }
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -3,20 +3,8 @@
|
|
3
3
|
|
4
4
|
Some setup you must do manually if you haven't yet:
|
5
5
|
|
6
|
-
1.
|
7
|
-
example of development environment:
|
8
|
-
|
9
|
-
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
|
10
|
-
|
11
|
-
This is a required Rails configuration. In production it must be the
|
12
|
-
actual host of your application
|
13
|
-
|
14
|
-
2. Ensure you have defined root_url to *something* in your config/routes.rb.
|
6
|
+
1. Ensure you have defined root_url to *something* in your config/routes.rb.
|
15
7
|
|
16
8
|
root :to => "sooner/subscribers#new"
|
17
9
|
|
18
|
-
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
|
19
|
-
|
20
|
-
<p class="sooner"><%= sooner %></p>
|
21
|
-
|
22
10
|
===============================================================================
|
data/lib/sooner/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Sooner
|
2
|
-
VERSION = "0.0.
|
3
|
-
end
|
2
|
+
VERSION = "0.0.6".freeze
|
3
|
+
end
|