%# # @file # Main application file. Holds scaffolding present on every page. # Then a certain non-partial view (no _ preceding filename) will be # displayed within, based on URL #%> <%= render :partial => 'layouts/head' %>
<% if devise_error_messages? %><%= devise_error_messages! %>
<% elsif notice %><%= notice %>
<% end %> <%= content_tag :div, class: "main" do %> <% if params[:controller] == 'doorkeeper/applications' || params[:controller] == 'doorkeeper/authorized_applications' classes = 'appsPage' else classes = '' end %><% if devise_error_messages? %> <%= devise_error_messages! %> <% elsif notice %> <%= notice %> <% end %>