Skip to content

Commit

Permalink
site_title proc should be rendered on Devise login page
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Jul 1, 2012
1 parent 9de7f44 commit 8639895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/active_admin/devise/sessions/new.html.erb
@@ -1,5 +1,5 @@
<div id="login">
<h2><%= title "#{active_admin_application.site_title} #{t('active_admin.devise.login.title')}" %></h2>
<h2><%= title "#{render_or_call_method_or_proc_on(self, active_admin_application.site_title)} #{t('active_admin.devise.login.title')}" %></h2>

<% scope = Devise::Mapping.find_scope!(resource_name) %>
<%= active_admin_form_for(resource, :as => resource_name, :url => send(:"#{scope}_session_path"), :html => { :id => "session_new" }) do |f|
Expand Down

0 comments on commit 8639895

Please sign in to comment.