diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8834b5d0..0691ae9b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,11 +2,8 @@ class ApplicationController < ActionController::Base protect_from_forgery helper :all - before_filter :set_locale - filter_parameter_logging :password - Liquid::Template.register_filter(SnippetFilter) def render_liquid_page diff --git a/app/models/user.rb b/app/models/user.rb index 478f2588..612d4705 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,7 +3,7 @@ class User devise :authenticatable, :recoverable, :rememberable, :trackable - # key :use_attributes + key :use_attributes, Array def method_missing(method) safe_read(method) diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 1dcb952c..54c76a1c 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -11,6 +11,7 @@ <%= stylesheet_link_tag "ie", :media => "screen, projection" %> <%= yield :page_specific_css %> + <%= csrf_meta_tag %>
+ <%= f.label :email %> + <%= f.text_field :email %> +
+- <%= f.label :email %> - <%= f.text_field :email %> -
\ No newline at end of file +<% content_for :page_specific_javascript do %> + +<% end -%> \ No newline at end of file