cowtech-rails 1.6.1.5 → 1.7.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,11 +19,11 @@ module Cowtech
|
|
19
19
|
"#{controller}##{action}"
|
20
20
|
end
|
21
21
|
|
22
|
-
def additional_tag(what = :js)
|
22
|
+
def additional_tag(what = :js, *args)
|
23
23
|
if what == :js then
|
24
|
-
javascript_include_tag "specific/#{self.controller_name}.js"
|
24
|
+
javascript_include_tag "specific/#{self.controller_name}.js", args
|
25
25
|
elsif what == :css then
|
26
|
-
stylesheet_link_tag "#{self.controller_name}.css"
|
26
|
+
stylesheet_link_tag "#{self.controller_name}.css", args
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
data/lib/cowtech/version.rb
CHANGED
metadata
CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
7
|
+
- 7
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.7.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Shogun
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-21 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|