Better page previews

This commit is contained in:
2015-03-08 10:29:41 +01:00
parent 3ce1bab8b8
commit 0a1aa06f2c
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
GIT GIT
remote: git://github.com/bterkuile/cmtool.git remote: git://github.com/bterkuile/cmtool.git
revision: 6a191e5d07469853dfa508bf41f9321359f32a8c revision: ba76940007a7ef373b651f1053cc1e516e186140
specs: specs:
cmtool (1.0.0) cmtool (1.0.0)
bourbon bourbon
+1 -1
View File
@@ -24,7 +24,7 @@ private
#START CMTOOL #START CMTOOL
def authorize_cmtool def authorize_cmtool
redirect_to new_administrator_session_path, alert: t('general.unauthorized') unless current_administrator.present? redirect_to main_app.new_administrator_session_path, alert: t('general.unauthorized') unless current_administrator.present?
end end
def cmtool_user def cmtool_user
+2 -2
View File
@@ -6,7 +6,7 @@
= yield :footer = yield :footer
/= link_to 'disclaimer', go_to_path('disclaimer', locale: 'en') /= link_to 'disclaimer', go_to_path('disclaimer', locale: 'en')
/' /'
= link_to 'privacy', go_to_path('privacy', locale: 'en') = link_to 'privacy', main_app.go_to_path('privacy', locale: 'en')
' '
= link_to 'contact', go_to_path('contact', locale: 'en') = link_to 'contact', main_app.go_to_path('contact', locale: 'en')
.footer-bottom © mozo.bar 2015 .footer-bottom © mozo.bar 2015
+2 -2
View File
@@ -9,8 +9,8 @@
.container .container
#header #header
#header-right= render 'theme1/social' #header-right= render 'theme1/social'
#logo= link_to image_tag('icons/logo-text.png', alt: application_title), root_path #logo= link_to image_tag('icons/logo-text.png', alt: application_title), main_app.root_path
= link_to t('devise.registrations.link'), new_suppliers_path, class: 'signup-button' = link_to t('devise.registrations.link'), main_app.new_suppliers_path, class: 'signup-button'
#nav-wrap #nav-wrap
.navbar .navbar
.navbar-inner= render 'theme1/navigation' .navbar-inner= render 'theme1/navigation'
+2 -2
View File
@@ -1,6 +1,6 @@
= link_to t('devise.sign_in.link'), new_employee_session_path, class: 'theme-button' = link_to t('devise.sign_in.link'), main_app.new_employee_session_path, class: 'theme-button'
- Rails.configuration.i18n.available_locales.each do |locale| - Rails.configuration.i18n.available_locales.each do |locale|
= link_to locale, go_to_locale_path(locale), class: ['locale-link', I18n.locale == locale ? 'active' : nil] = link_to locale, main_app.go_to_locale_path(locale), class: ['locale-link', I18n.locale == locale ? 'active' : nil]
a.social-link.facebook href="https://www.facebook.com/mozo.bar" target=:_blank a.social-link.facebook href="https://www.facebook.com/mozo.bar" target=:_blank
/a.wsite-social-twitter href="https://twitter.com/mozo.bar" target=:_blank /a.wsite-social-twitter href="https://twitter.com/mozo.bar" target=:_blank
span.wsite-social-inner span.wsite-social-inner
+1 -1
View File
@@ -11,7 +11,7 @@ Qwaiter::Application.configure do
config.eager_load = true config.eager_load = true
# Full error reports are disabled and caching is turned on # Full error reports are disabled and caching is turned on
config.consider_all_requests_local = true config.consider_all_requests_local = false
config.action_controller.perform_caching = false config.action_controller.perform_caching = false
config.action_controller.action_on_unpermitted_parameters = :log config.action_controller.action_on_unpermitted_parameters = :log