Merge branch 'master' into escoger_idioma_803
Conflicts: app/controllers/application_controller.rb
This commit is contained in:
@@ -12,10 +12,17 @@ en:
|
||||
create_debate: Create a debate
|
||||
my_account_link: My account
|
||||
debates:
|
||||
index:
|
||||
create_debate: Create a debate
|
||||
debate:
|
||||
debate: Debate
|
||||
vote: vote
|
||||
votes: votes
|
||||
comment: Comment
|
||||
comments: Comments
|
||||
agree: I agree
|
||||
disagree: I disagree
|
||||
leave_comment: Comment
|
||||
form:
|
||||
one_error: error
|
||||
plural_errors: errors
|
||||
@@ -31,6 +38,7 @@ en:
|
||||
comment: Comment
|
||||
comments: Comments
|
||||
leave_comment: Write a comment
|
||||
login_to_comment: Log in to participate
|
||||
edit_debate_link: Edit
|
||||
edit:
|
||||
editing: Edit debate
|
||||
@@ -45,9 +53,15 @@ en:
|
||||
reply_link: Reply
|
||||
reply_button: Publish reply
|
||||
votes:
|
||||
agree: I agree
|
||||
disagree: I disagree
|
||||
supports: Supports
|
||||
notice_thanks: "Thanks for voting."
|
||||
notice_already_registered: "Your vote is already registered."
|
||||
account:
|
||||
show:
|
||||
title: "My account"
|
||||
save_changes_submit: "Save changes"
|
||||
shared:
|
||||
tags_cloud:
|
||||
tags: Tags
|
||||
|
||||
@@ -12,10 +12,16 @@ es:
|
||||
create_debate: Crea un debate
|
||||
my_account_link: Mi cuenta
|
||||
debates:
|
||||
index:
|
||||
create_debate: Crea un debate
|
||||
debate:
|
||||
debate: Debate
|
||||
vote: voto
|
||||
votes: votos
|
||||
comment: Comentario
|
||||
comments: Comentarios
|
||||
agree: Estoy de acuerdo
|
||||
disagree: No estoy de acuerdo
|
||||
form:
|
||||
one_error: error
|
||||
plural_errors: errores
|
||||
@@ -31,6 +37,7 @@ es:
|
||||
comment: Comentario
|
||||
comments: Comentarios
|
||||
leave_comment: Deja tu comentario
|
||||
login_to_comment: Entra para participar
|
||||
edit_debate_link: Editar
|
||||
edit:
|
||||
editing: Editar debate
|
||||
@@ -45,9 +52,15 @@ es:
|
||||
reply_link: Responder
|
||||
reply_button: Publicar respuesta
|
||||
votes:
|
||||
agree: Estoy de acuerdo
|
||||
disagree: No estoy de acuerdo
|
||||
supports: Apoyos
|
||||
notice_thanks: "Gracias por votar."
|
||||
notice_already_registered: "Tu voto ya ha sido registrado."
|
||||
account:
|
||||
show:
|
||||
title: "Mi cuenta"
|
||||
save_changes_submit: "Guardar cambios"
|
||||
shared:
|
||||
tags_cloud:
|
||||
tags: Etiquetas
|
||||
|
||||
@@ -6,9 +6,18 @@ Rails.application.routes.draw do
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
root 'debates#index'
|
||||
|
||||
resources :debates do
|
||||
resources :votes, only: :create
|
||||
resources :comments, only: :create
|
||||
member do
|
||||
post :vote
|
||||
end
|
||||
|
||||
resources :comments, only: :create, shallow: true do
|
||||
member do
|
||||
post :vote
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
resource :account, controller: "account", only: [:show, :update]
|
||||
|
||||
Reference in New Issue
Block a user