Skip to content

Instantly share code, notes, and snippets.

@mimosz
mimosz / active_admin_views_pages_base.rb
Created August 31, 2011 09:50 — forked from jocubeit/active_admin_views_pages_base.rb
Override footer content in Active Admin gem
# encoding: utf-8
ActiveAdmin::Views::Pages::Base.class_eval do
private
# Renders the content for the footer
def build_footer
div :id => "footer" do
para "Copyright © #{Date.today.year.to_s} #{link_to('Example.com', 'http://example.com')}. Powered by #{link_to('Active Admin', 'http://www.activeadmin.info')} #{ActiveAdmin::VERSION}".html_safe
end
end
end