Fix login

This commit is contained in:
Andrew Radev 2015-05-30 19:00:44 +03:00
parent 454f18dd2f
commit 3e6d307e48
2 changed files with 21 additions and 3 deletions

View File

@ -19,9 +19,6 @@ class ApplicationController < ActionController::Base
I18n.locale = params[:locale] || I18n.default_locale
end
layout 'management'
protected
def configure_permitted_parameters

View File

@ -0,0 +1,21 @@
doctype html
html
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
meta name="viewport" content="width=device-width, initial-scale=1"
title
- if content_for? :title
=> content_for :title
| | Clarion
- else
| Clarion
= stylesheet_link_tag "management/application"
= csrf_meta_tags
body
main
= render 'layouts/management/flash'
== yield
= javascript_include_tag "management/application"