Module: Facepalm::Rails::Controller::UrlRewriting

Defined in:
lib/facepalm/rails/controller/url_rewriting.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/facepalm/rails/controller/url_rewriting.rb', line 5

def self.included(base)
  base.class_eval do
    alias_method_chain :url_for, :facepalm

    helper_method(:facebook_canvas_page_url, :facebook_callback_url)
  end
end