oxen 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '093d072f0ecc95a2fdcfbf2c84997f912d750f6bf9c631746ce7b30bc08eb206'
4
- data.tar.gz: 480af25c4acefa6c8cd564251fd509dbc3e7bd86887bfd56184d6759db42941e
3
+ metadata.gz: 101cf8ed98679d87b9c5c44423042d43d252c071c92b75f692de5c38189bfa0e
4
+ data.tar.gz: 76c6748ab9ae62a333fb9c0fd6615733cf88fef3b5281078526f7d7b1e095265
5
5
  SHA512:
6
- metadata.gz: 5b30539da99c0b23e22937124ab5715d7a2e28aa428086b91ba1fb4db98905bdbfc9e33d1fe1162f82a9f8ec0e3c15e8fb03822388535552de66986198cbaf14
7
- data.tar.gz: 5f923dc24f749100f554cdd9fc545b676cf9e60219584c962a5b3831569c00b9c382438252ad84e4222ee4423b29f24e1d7ec5419efba9053b891c2436630b25
6
+ metadata.gz: a0c7eac9a32db28cbfc722f3524ccb4d8e5b8a85f89c670dffc2afbb506a6ff9271262455432f18e864a56fdb036ef252073e165cf633e09dc865eb03754d807
7
+ data.tar.gz: 50f96bc2cb5ee10cf22b5011495064f4c88e5b64a2a6f8833c6d2cf101bee8ccf916fd6b1f9420cb9658d9849b1ff9ac1c9f0a802abc2e03c408315fbc82256f
@@ -16,7 +16,7 @@ module Oxen
16
16
  if ac
17
17
  session[:login] = login
18
18
  flash[:notice] = "登录成功"
19
- redirect_to main_app.root_path and return
19
+ redirect_to main_app.home_path and return
20
20
  else
21
21
  flash[:alert] = "登录失败"
22
22
  redirect_to login_path and return
@@ -29,7 +29,7 @@ module Oxen
29
29
  def logout
30
30
  reset_session
31
31
  flash[:notice] = "成功退出"
32
- redirect_to main_app.root_path
32
+ redirect_to main_app.home_path
33
33
  end
34
34
  end
35
35
  end
@@ -1,8 +1,9 @@
1
1
  .container
2
2
  h2 align="center"
3
- = icon("fas","user","修改密码#{session[:login]}")
3
+ = icon("fas","user") + "修改密码#{session[:login]}"
4
4
  .row
5
- .col-md-4.offset-md-4
5
+ .col-md-4
6
+ .col-md-4
6
7
  hr
7
8
  = form_tag changepsd_path,method: "post",class: " panel panel-default form-horizontal" do
8
9
  .panel-body
@@ -1,3 +1,3 @@
1
1
  module Oxen
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - zxy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-27 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: simple user and account engine
14
14
  email: