Module: Taggable::AdminPagesController

Defined in:
lib/taggable/admin_pages_controller.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/taggable/admin_pages_controller.rb', line 4

def self.included(base)

  base.class_eval {
    def initialize_meta_rows_and_buttons_with_tags
      initialize_meta_rows_and_buttons_without_tags
      @meta.delete(@meta.find{|m| m[:field] == 'keywords'})
    end
    alias_method_chain :initialize_meta_rows_and_buttons, :tags
  }

end