Skip to content

Instantly share code, notes, and snippets.

@igaiga
Created December 2, 2013 08:56
Show Gist options
  • Save igaiga/7746812 to your computer and use it in GitHub Desktop.
Save igaiga/7746812 to your computer and use it in GitHub Desktop.
before_filter :g_action
def g_action
g "#{self.class.name}##{action_name}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment