Class ::Base
In: lib/facebooker/rails/extensions/action_controller.rb
lib/facebooker/rails/facebook_url_rewriting.rb
Parent: Object

Methods

External Aliases

relative_url_root -> old_relative_url_root

Public Class methods

[Source]

# File lib/facebooker/rails/extensions/action_controller.rb, line 3
    def self.inherited_with_facebooker(subclass)
      inherited_without_facebooker(subclass)
      if subclass.to_s == "ApplicationController"
        subclass.send(:include,Facebooker::Rails::Controller) 
        subclass.helper Facebooker::Rails::Helpers
      end
    end

[Source]

# File lib/facebooker/rails/facebook_url_rewriting.rb, line 19
      def relative_url_root
        Facebooker.path_prefix
      end

[Validate]