bhf 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/config/routes.rb +1 -1
  2. data/lib/bhf.rb +1 -1
  3. metadata +2 -2
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  unless Bhf::Engine.config.remove_default_routes
2
- Rails.application.routes.draw(&Bhf::Engine.config.routes)
2
+ Rails.application.routes.append(&Bhf::Engine.config.bhf_routes)
3
3
  end
data/lib/bhf.rb CHANGED
@@ -18,7 +18,7 @@ module Bhf
18
18
  config.account_model_find_method = 'find'
19
19
  config.css = []
20
20
 
21
- config.routes = lambda {
21
+ config.bhf_routes = lambda {
22
22
  namespace :bhf, path: Bhf::Engine.config.mount_at do
23
23
  root to: 'application#index'
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bhf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
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: 2013-07-06 00:00:00.000000000 Z
12
+ date: 2013-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails