effective_resources 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dce484ce7125d0bf8cb2c928f983a34d37fcd10
|
4
|
+
data.tar.gz: e30f9a165335f8426d4f27e426599b498eb819f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f2e2d4d18cdecc0587222de2a94cd5176cea93bf087ad19cf52eccd1db400d4bce66df706770b77a32f3b9f9e8070f5a166fa703f42a6456e751b2a7f155414
|
7
|
+
data.tar.gz: 39127cb6986dcf152ab0de1642ca81afb7c58beead37e77cf3888064083376844193851e812fd42876cd9d1cd07b2675a7d9035f6d08801b36be5944e83f81e8
|
@@ -9,6 +9,12 @@ module EffectiveResources
|
|
9
9
|
template ('../' * 3) + 'config/effective_resources.rb', 'config/initializers/effective_resources.rb'
|
10
10
|
end
|
11
11
|
|
12
|
+
def copy_application_templates
|
13
|
+
[:edit, :index, :new, :show].each do |file|
|
14
|
+
template ('../' * 3) + "app/views/application/#{file}.html.haml", "app/views/application/#{file}.html.haml"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
12
18
|
end
|
13
19
|
end
|
14
20
|
end
|