xhive 1.0.4.pre → 1.0.5.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/xhive/application_helper.rb +2 -3
- data/lib/xhive/version.rb +1 -1
- metadata +3 -3
@@ -5,12 +5,11 @@ module Xhive
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def include_custom_stylesheets
|
8
|
-
#
|
9
|
-
"<link href='/stylesheets/custom.css' media='all' rel='stylesheet' type='text/css'/>".html_safe
|
8
|
+
"<link href='#{xhive.stylesheets_path}' media='all' rel='stylesheet' type='text/css'/>".html_safe
|
10
9
|
end
|
11
10
|
|
12
11
|
def render_page_with(options={})
|
13
|
-
page = current_site.mappers.page_for(
|
12
|
+
page = current_site.mappers.page_for(controller_path, action_name)
|
14
13
|
render :inline => page.presenter.render_content(options), :layout => true
|
15
14
|
rescue
|
16
15
|
render
|
data/lib/xhive/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xhive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5.pre
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
segments:
|
225
225
|
- 0
|
226
|
-
hash:
|
226
|
+
hash: -3121959772231575162
|
227
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
228
|
none: false
|
229
229
|
requirements:
|