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.
@@ -5,12 +5,11 @@ module Xhive
5
5
  end
6
6
 
7
7
  def include_custom_stylesheets
8
- # TODO: merge engine routes with Rails application routes
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(controller_name, action_name)
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
@@ -1,3 +1,3 @@
1
1
  module Xhive
2
- VERSION = "1.0.4.pre"
2
+ VERSION = "1.0.5.pre"
3
3
  end
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.pre
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-23 00:00:00.000000000 Z
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: 2240109890561741587
226
+ hash: -3121959772231575162
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  none: false
229
229
  requirements: