diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 340944a..63e0077 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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] diff --git a/config/locales/es.yml b/config/locales/es.yml index 7771cb9..db5984c 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1,4 +1,8 @@ es: + login: + email: Correo electrónico + password: Contraseña + remember_me: Recordarme _true: Sí _false: No dir: ltr