mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:09:53 +01:00
navbar and page title now show the site_name defined in APP_CONFIGwq
This commit is contained in:
parent
f15cdf5d7f
commit
237c170ddc
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%a.navbar-brand{href: "/"} justask2
|
||||
%a.navbar-brand{href: "/"}= APP_CONFIG['site_name']
|
||||
#j2-main-navbar-collapse.collapse.navbar-collapse
|
||||
%ul.nav.navbar-nav
|
||||
= nav_entry "Front", "/"
|
||||
|
@ -23,4 +23,4 @@
|
|||
%li= link_to "Logout", destroy_user_session_path, method: :delete
|
||||
- else
|
||||
= nav_entry "Sign in", new_user_session_path
|
||||
= nav_entry "Sign up", new_user_registration_path
|
||||
= nav_entry "Sign up", new_user_registration_path
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
!!! 5
|
||||
%html
|
||||
%head
|
||||
%title justask2
|
||||
%title= APP_CONFIG['site_name']
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||
= csrf_meta_tags
|
||||
|
@ -12,4 +12,4 @@
|
|||
%hr
|
||||
.container
|
||||
%p.text-danger EVIL DEBUG MODE OF DOOM ENABLED!!!
|
||||
= debug params
|
||||
= debug params
|
||||
|
|
Loading…
Reference in a new issue