Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Include url_for in controllers

  • Loading branch information...
commit c5a8dfb5dfe6e0f4a470cb737be50c45a7a850f0 1 parent 2390c22
Mikhail authored March 01, 2012
4  lib/facepalm/rails/controller/url_rewriting.rb
... ...
@@ -1,7 +1,11 @@
  1
+require 'facepalm/rails/helpers/url_helper'
  2
+
1 3
 module Facepalm
2 4
   module Rails
3 5
     module Controller
4 6
       module UrlRewriting
  7
+        include Facepalm::Rails::Helpers::UrlHelper
  8
+
5 9
         def self.included(base)
6 10
           base.class_eval do
7 11
             helper_method(:facebook_canvas_page_url, :facebook_callback_url)

0 notes on commit c5a8dfb

Please sign in to comment.
Something went wrong with that request. Please try again.