lotus_admin 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddb5877d58d3219c8a86e4dfe190ad3c84b1c910
4
- data.tar.gz: e4d87108b33b2cb7cd8aa697fb4ec77a152a937c
3
+ metadata.gz: c08aac8ac50310dc3da3b4a4ba8be73307a4a8dc
4
+ data.tar.gz: 5f6b30001bf42309ae12ff061501226f92607135
5
5
  SHA512:
6
- metadata.gz: 9a1cf96d0cbe228174c5ab6393912684567d43203d7af2e5015dad9e2b7624113466dad7cfd4904da5cd0c628cacd2997a77bcdd483676406585ef4f0464c3d5
7
- data.tar.gz: e87b57448d95957f507696804cbacdc77efbbc5f4cdf51ccb29bd715f85ff1e88f64cbeb70e546d600336547a7641ae1dc3a732350ff8e0ecd5a65c3a28a77d6
6
+ metadata.gz: a4891c33358d71e0001e5b85cd0dda868d8d306145345b6d095ec6b8a0ace62be7eb006b7ca0c20e369524d28469869bb8a48161c8c58701f9b5f3aec2d6c7eb
7
+ data.tar.gz: b91f21df968e194ae24adb7e10eadf338b18909bc515060bf9599eb8041f49aaf916f2449db23ab5526a45c58db5fb087d52077b2698a82dd301af8ac17f87e0
@@ -1,10 +1,12 @@
1
1
  LotusAdmin::Engine.routes.draw do
2
2
  devise_for :administrators, class_name: "LotusAdmin::User"
3
3
 
4
- resources :users
5
- resource :profile, only: [:edit, :update]
4
+ authenticate :administrator do
5
+ resources :users
6
+ resource :profile, only: [:edit, :update]
6
7
 
7
- LotusAdmin.install_routes!(self)
8
+ LotusAdmin.install_routes!(self)
8
9
 
9
- root to: 'dashboard#show'
10
+ root to: 'dashboard#show'
11
+ end
10
12
  end
@@ -1,3 +1,3 @@
1
1
  module LotusAdmin
2
- VERSION = '0.4.4'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lotus_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Millsaps-Brewer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails