It makes no difference today, but prevents problems in future if
methods accepting post requests are added to this controller in future.
layout "site"
require "xml/libxml"
layout "site"
require "xml/libxml"
- skip_before_action :verify_authenticity_token, :except => [:index]
before_action :authorize_web
before_action :set_locale
before_action -> { check_database_readable(true) }, :only => [:index, :feed]
before_action :authorize_web
before_action :set_locale
before_action -> { check_database_readable(true) }, :only => [:index, :feed]