spud_inquiries 0.3.1 → 0.3.2
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.
|
@@ -4,7 +4,7 @@ class Spud::Admin::InquiriesController < Spud::Admin::ApplicationController
|
|
|
4
4
|
add_breadcrumb "Inquiries", :spud_admin_inquiries_path
|
|
5
5
|
before_filter :load_inquiries,:only => [:edit,:update,:show,:destroy]
|
|
6
6
|
def index
|
|
7
|
-
@inquiries = SpudInquiry.order("created_at DESC").paginate :page => params[:page]
|
|
7
|
+
@inquiries = SpudInquiry.order("created_at DESC").includes(:spud_inquiry_form).paginate :page => params[:page]
|
|
8
8
|
respond_with @inquiries
|
|
9
9
|
end
|
|
10
10
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<%@inquiries.each do |inquiry|%>
|
|
8
8
|
<div class="page_row">
|
|
9
9
|
|
|
10
|
-
<span class="row_meta"><%=link_to inquiry.email,spud_admin_inquiry_path(inquiry)%></span>
|
|
10
|
+
<span class="row_meta"><%=link_to "#{inquiry.spud_inquiry_form.name}: #{inquiry.email},spud_admin_inquiry_path(inquiry)%></span>
|
|
11
11
|
|
|
12
12
|
<span class="edit_controls">
|
|
13
13
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spud_inquiries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02-
|
|
12
|
+
date: 2012-02-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: spud_core
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70277981813080 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: 0.5.3
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70277981813080
|
|
25
25
|
description:
|
|
26
26
|
email: destes@redwindsw.com
|
|
27
27
|
executables: []
|