Permalink
Browse files

Include url_for in controllers

  • Loading branch information...
1 parent 2390c22 commit c5a8dfb5dfe6e0f4a470cb737be50c45a7a850f0 @Magicdream Magicdream committed Mar 1, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/facepalm/rails/controller/url_rewriting.rb
@@ -1,7 +1,11 @@
+require 'facepalm/rails/helpers/url_helper'
+
module Facepalm
module Rails
module Controller
module UrlRewriting
+ include Facepalm::Rails::Helpers::UrlHelper
+
def self.included(base)
base.class_eval do
helper_method(:facebook_canvas_page_url, :facebook_callback_url)

0 comments on commit c5a8dfb

Please sign in to comment.