kiss 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kiss/action.rb +3 -5
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9
|
1
|
+
0.9.1
|
data/lib/kiss/action.rb
CHANGED
@@ -154,11 +154,9 @@ class Kiss
|
|
154
154
|
# process layout file
|
155
155
|
content = erubis(layout_path,binding,content)
|
156
156
|
end
|
157
|
-
|
158
|
-
#
|
159
|
-
|
160
|
-
#content.sub(/(\<html)/i,%Q(<base href="#{@base_url}" />\\1))
|
161
|
-
content
|
157
|
+
|
158
|
+
# add a base tag in case of arguments appended to request URI
|
159
|
+
content.sub(/(\<html)/i,%Q(<base href="#{@base_url}" />\\1))
|
162
160
|
end
|
163
161
|
|
164
162
|
# Render and return response to Rack.
|