Displaying 1 result from an estimated 1 matches for "nonfacebookcontroller".
2007 Dec 20
0
Relative URL fix
...iled but when i looked at the controller it was still testing for
facebook variables namely the before_filters. This was not the same
as having a controller that didn''t really have any knowledge of the
facebook portion of the app, which is what the test seemed to imply.
I created a NonFacebookController like so:
class NonFacebookController < ActionController::Base
def link_test
render :text=>''link''
end
def rescue_action(e) raise e end
end
And changed the routing to include a default path like so:
ActionController::Routing::Routes.draw do |m...