muck-engine 0.1.9 → 0.1.10
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.
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.10
|
|
@@ -53,8 +53,12 @@ module ActionController
|
|
|
53
53
|
# 127.0.0.1 gr.application.local
|
|
54
54
|
# in your /etc/hosts file to try this out locally
|
|
55
55
|
def extract_locale_from_subdomain
|
|
56
|
-
parsed_locale = request.subdomains.first
|
|
57
|
-
|
|
56
|
+
parsed_locale = request.subdomains.first
|
|
57
|
+
if !parsed_locale.blank?
|
|
58
|
+
I18n.available_locales.include?(parsed_locale.to_sym) ? parsed_locale.to_sym : nil
|
|
59
|
+
else
|
|
60
|
+
nil
|
|
61
|
+
end
|
|
58
62
|
end
|
|
59
63
|
|
|
60
64
|
def setup_paging
|
data/muck-engine.gemspec
CHANGED
data/rdoc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Thu, 25 Jun 2009 01:05:05 -0600
|
data/rdoc/files/README_rdoc.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Tue Jun 23 10:45:06 -0600 2009</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -155,6 +155,12 @@ your layout or the javascript in the system won‘t work:
|
|
|
155
155
|
<%= yield :javascript %>
|
|
156
156
|
</script>
|
|
157
157
|
</pre>
|
|
158
|
+
<p>
|
|
159
|
+
You can customize your email template by overriding the existing layouts.
|
|
160
|
+
Simply add email_default.text.html.erb and email_default.text.plain.erb
|
|
161
|
+
views/layouts. This will build templates for html and plain text emails.
|
|
162
|
+
For an example of each look at the views/layouts directory in this project.
|
|
163
|
+
</p>
|
|
158
164
|
<h2>CSS</h2>
|
|
159
165
|
<p>
|
|
160
166
|
The css provided by the muck engine comes from blueprint: <a
|