5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# File 'lib/radiant-filter_toolbars-extension/controllers/admin/pages_controller.rb', line 5
def self.included(base)
base.class_eval do
before_filter :filter_toolbar_assets, :only => [:new, :edit]
private
def filter_toolbar_assets
@javascripts << 'admin/filter_toolbars/control/livepipe'
@javascripts << 'admin/filter_toolbars/control/textarea'
@javascripts << 'admin/filter_toolbars/filter_toolbars'
@javascripts << 'admin/filter_toolbars/filters/textile'
@javascripts << 'admin/filter_toolbars/filters/markdown'
@stylesheets << 'admin/filter_toolbars'
end
end
end
|