volt-user-templates 0.0.6 → 0.1.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: 7b3f384372359495f2b52bce8a0af2099aece82c
4
- data.tar.gz: cc75b15bf1a091d0432f68e5089a9b0969f7fd99
3
+ metadata.gz: f20dd06260bdb9aa06627eb4f8c84bc910a77cd9
4
+ data.tar.gz: 14c4390d5f19035cc1a81d6fdb4a71fa826134f0
5
5
  SHA512:
6
- metadata.gz: 54c403be6f3384880f28a2fb337bd3abbb024c80debf451cdab2ffb0fca934ca53500ca424770c480212077fc01558fa0c671fd80d83ab02621c2034539b9960
7
- data.tar.gz: 6f10e36f6cdb63d1a355e1a4fc109b3ffb98392b409a17f2083e1f4a7398a3f9b913a1e6e8ca356399d9ba905c120c54f4b664df54376951084b8a9aa02a047a
6
+ metadata.gz: 66d687c19e2ee7e7ea3c1b70eaafb2bf1c3e4950464f76e2de5bd9db7026b330c2dbb4a4331d3ddad78a619e4fbd4a5746191ab72720a1300d6da7fcb9ad97d0
7
+ data.tar.gz: cb1efc624cee6c162092a90a6a5ef108c727c1f146a3cd38837088a3feaf473df4ea719ac327986adb50f21ac78bd7de69fbe95356379ffc395a938a55aae59b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.1.0
@@ -1,7 +1,7 @@
1
1
  module UserTemplates
2
2
  class MenuController < Volt::ModelController
3
3
  def show_name
4
- Volt.fetch_user.then do |user|
4
+ Volt.fetch_current_user.then do |user|
5
5
  user._name.or(user._email).or(user._username)
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  <:Body>
2
2
 
3
- {{ if Volt.fetch_user }}
3
+ {{ if Volt.current_user }}
4
4
  <li class="dropdown">
5
5
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">
6
6
  <span class="glyphicon glyphicon-user"></span>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt-user-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-23 00:00:00.000000000 Z
11
+ date: 2015-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: volt-fields