Skip to content

Commit

Permalink
fix small details
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail Akbudak committed Jun 21, 2016
1 parent d19a4b5 commit 0c104e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class User::UserApplicationController < ActionController::Base
# layout 'user/application'
layout 'application'
before_action :authenticate_user!
self.responder = ApplicationResponder
respond_to :html, :json
Expand Down
2 changes: 1 addition & 1 deletion templates/app/views/hq/dashboard/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.row
.col-lg-12
.alert.alert-info
= t('view.hello', email: current_admin.email)
= t('view.hello', user: current_admin.email)
= link_to t('navbar.sign_out'), destroy_admin_session_path, method: :delete, class: 'btn btn-danger'
= link_to t('navbar.edit_login_info'), edit_admin_registration_path, class: 'btn btn-primary'
2 changes: 1 addition & 1 deletion templates/app/views/user/dashboard/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
.row
.col-lg-12
.alert.alert-info
= t('view.hello', email: current_user.email)
= t('view.hello', user: current_user.email)
= link_to t('navbar.sign_out'), destroy_user_session_path, method: :delete, class: 'btn btn-danger'
= link_to t('navbar.edit_login_info'), edit_user_registration_path, class: 'btn btn-primary'
1 change: 1 addition & 0 deletions templates/config/locales/view.tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ tr:
reset: Temizle
quick_search: Arama yap..
reload: Yeniden yükle
hello: Merhaba %{user}
there_is_no_data: Hiç %{resource} eklenmemiş.
navbar:
settings: Ayarlar
Expand Down

0 comments on commit 0c104e3

Please sign in to comment.