mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 23:56:22 +00:00
habiamos roto el login :/
This commit is contained in:
parent
80c9ebbac0
commit
fcf049c88d
2 changed files with 4 additions and 10 deletions
|
@ -9,8 +9,6 @@ class ApplicationController < ActionController::Base
|
|||
before_action :configure_permitted_parameters, if: :devise_controller?
|
||||
before_action :set_locale
|
||||
|
||||
layout :layout_by_usuarie
|
||||
|
||||
# No tenemos índice de sutty, vamos directamente a ver el listado de
|
||||
# sitios
|
||||
def index
|
||||
|
@ -21,14 +19,6 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
private
|
||||
|
||||
def layout_by_usuarie
|
||||
if current_usuarie
|
||||
'application'
|
||||
else
|
||||
'devise'
|
||||
end
|
||||
end
|
||||
|
||||
# Encontrar un sitio por su nombre
|
||||
def find_site
|
||||
id = params[:site_id] || params[:id]
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
es:
|
||||
login:
|
||||
email: Correo electrónico
|
||||
password: Contraseña
|
||||
remember_me: Recordarme
|
||||
_true: Sí
|
||||
_false: No
|
||||
dir: ltr
|
||||
|
|
Loading…
Reference in a new issue