Sha256: b198084b1c88af54cfcf3b0f0df5af25ddc26c1c2ebcd9f25bd9b072b7110eda
Contents?: true
Size: 443 Bytes
Versions: 39
Compression:
Stored size: 443 Bytes
Contents
require __DIR__('facebook/facebook') module Ramaze module Helper::Facebook def self.included(klass) klass.send(:helper, :aspect) end def error if Facebook::ADMINS.include? facebook[:user] error = Ramaze::Dispatcher::Error.current [error, *error.backtrace].join '<br/>' end end private def facebook @facebook ||= Facebook::Client.new end alias fb facebook end end
Version data entries
39 entries across 39 versions & 5 rubygems