Better page previews
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
GIT
|
||||
remote: git://github.com/bterkuile/cmtool.git
|
||||
revision: 6a191e5d07469853dfa508bf41f9321359f32a8c
|
||||
revision: ba76940007a7ef373b651f1053cc1e516e186140
|
||||
specs:
|
||||
cmtool (1.0.0)
|
||||
bourbon
|
||||
|
||||
@@ -24,7 +24,7 @@ private
|
||||
|
||||
#START 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
|
||||
|
||||
def cmtool_user
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
= yield :footer
|
||||
/= 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
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
.container
|
||||
#header
|
||||
#header-right= render 'theme1/social'
|
||||
#logo= link_to image_tag('icons/logo-text.png', alt: application_title), root_path
|
||||
= link_to t('devise.registrations.link'), new_suppliers_path, class: 'signup-button'
|
||||
#logo= link_to image_tag('icons/logo-text.png', alt: application_title), main_app.root_path
|
||||
= link_to t('devise.registrations.link'), main_app.new_suppliers_path, class: 'signup-button'
|
||||
#nav-wrap
|
||||
.navbar
|
||||
.navbar-inner= render 'theme1/navigation'
|
||||
|
||||
@@ -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|
|
||||
= 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.wsite-social-twitter href="https://twitter.com/mozo.bar" target=:_blank
|
||||
span.wsite-social-inner
|
||||
|
||||
@@ -11,7 +11,7 @@ Qwaiter::Application.configure do
|
||||
config.eager_load = true
|
||||
|
||||
# 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.action_on_unpermitted_parameters = :log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user