sooner 0.0.5 → 0.0.6

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.
@@ -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. Setup default url options for your specific environment. Here is an
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
  ===============================================================================
@@ -1,3 +1,3 @@
1
1
  module Sooner
2
- VERSION = "0.0.5".freeze
3
- end
2
+ VERSION = "0.0.6".freeze
3
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shenouda Bertel