lyb_devise_admin 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,8 +7,8 @@ de:
7
7
  email: E-Mail
8
8
  password: Passwort
9
9
  password_confirmation: Passwort Bestätigung
10
- current_password: Aktuelles Passwort
11
- remember_me: Angemeldet bleiben
10
+ current_password: Aktuelles Passwort
11
+ remember_me: Angemeldet bleiben
12
12
  last_sign_in_at: Letzte Anmeldung
13
13
  created_at: Registriert seit
14
14
  roles: Rollen
@@ -20,6 +20,9 @@ de:
20
20
  flash:
21
21
  locked: "Benutzer %{user} gesperrt."
22
22
  unlocked: "Benutzer %{user} freigeschaltet."
23
+ action:
24
+ lock: Sperren
25
+ unlock: Entsperren
23
26
 
24
27
  devise:
25
28
  sign_in: Anmelden
data/config/routes.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  Rails.application.routes.draw do
4
4
  resources :users do
5
5
  member do
6
- post :unlock
6
+ post :lock, :unlock
7
7
  end
8
8
  collection do
9
9
  get :current
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module LybDeviseAdmin
4
- VERSION="0.3.4"
4
+ VERSION="0.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lyb_devise_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
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: 2012-12-19 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: LybDeviseAdmin provides a ready-to-use admin interface for devise.
15
15
  email: