spree_easy_contact 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
1
  class Admin::ContactsController < Admin::BaseController
2
2
  resource_controller
3
-
4
- end
3
+ end
@@ -18,7 +18,7 @@
18
18
  <%= hook :admin_contact_index_rows, locals do %>
19
19
  <td><%= contact.name %></td>
20
20
  <td><%= contact.email %></td>
21
- <td><%= contact.topic.name %></td>
21
+ <td><%= contact.try(:topic).try(:name) %></td>
22
22
  <td><%= contact.created_at %></td>
23
23
  <% end %>
24
24
  <td class="actions">
@@ -30,4 +30,4 @@
30
30
  </td>
31
31
  </tr>
32
32
  <% end %>
33
- </table>
33
+ </table>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_easy_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mathias Standaert
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-15 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-03-15 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: spree_core
@@ -85,7 +84,6 @@ files:
85
84
  - config/locales/en.yml
86
85
  - config/locales/fr-FR.yml
87
86
  - config/routes.rb
88
- has_rdoc: true
89
87
  homepage: https://github.com/organicweb/spree-easy-contact
90
88
  licenses:
91
89
  - BSD
@@ -117,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - none
119
117
  rubyforge_project:
120
- rubygems_version: 1.3.7
118
+ rubygems_version: 1.8.24
121
119
  signing_key:
122
120
  specification_version: 3
123
121
  summary: Contact form manager for spreecommerce