Commit 4e9672e75fcab459663df0288267f7e1537bdfbc
1 parent
c4945dbc
Exists in
master
and in
22 other branches
fix typo method name
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
app/helpers/boxes_helper.rb
... | ... | @@ -219,7 +219,7 @@ module BoxesHelper |
219 | 219 | buttons << thickbox_inline_popup_icon(:help, _('Help on this block'), {}, "help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help, :style => 'margin-bottom: 1em;') + thickbox_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}") |
220 | 220 | end |
221 | 221 | |
222 | - if block.respond_to?(:embedable) | |
222 | + if block.embedable? | |
223 | 223 | url = url_for :controller => 'embed', :action => 'index', :id => block.id, :only_path => false; |
224 | 224 | |
225 | 225 | html = content_tag('div', | ... | ... |