Skip to content

Instantly share code, notes, and snippets.

@SeanRoberts
Created August 2, 2012 02:16
Show Gist options
  • Save SeanRoberts/3232551 to your computer and use it in GitHub Desktop.
Save SeanRoberts/3232551 to your computer and use it in GitHub Desktop.
class ParentController
def self.options
{ :some_options => :for_me }
end
load_and_authorize_resource options
end
class ChildController < ParentController
def self.options
{ :other_options => :okay }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment