5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:56:20 +00:00

habiamos roto el login :/

This commit is contained in:
f 2019-09-11 12:50:00 -03:00
parent 80c9ebbac0
commit fcf049c88d
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 4 additions and 10 deletions

View file

@ -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]

View file

@ -1,4 +1,8 @@
es:
login:
email: Correo electrónico
password: Contraseña
remember_me: Recordarme
_true:
_false: No
dir: ltr