Method: Facebooker::Rails::Helpers#fb_tab_item
- Defined in:
- lib/facebooker/rails/helpers.rb
#fb_tab_item(title, url, options = {}) ⇒ Object
Render an fb:tab_item tag. Use this in conjunction with fb_tabs Options can contains :selected => true to indicate that a tab is the current tab. See: wiki.developers.facebook.com/index.php/Fb:tab-item for complete list of options
374 375 376 377 378 379 380 |
# File 'lib/facebooker/rails/helpers.rb', line 374 def fb_tab_item(title, url, ={}) = .dup .assert_valid_keys(FB_TAB_ITEM_VALID_OPTION_KEYS) .merge!(:title => title, :href => url) validate_fb_tab_item_align_value() tag("fb:tab-item", stringify_vals()) end |