Skip to content

Instantly share code, notes, and snippets.

@luckyruby
Created March 27, 2014 07:12
Show Gist options
  • Select an option

  • Save luckyruby/9801981 to your computer and use it in GitHub Desktop.

Select an option

Save luckyruby/9801981 to your computer and use it in GitHub Desktop.
controller = $('body').data('controller')
action = $('body').data('action')
if controller is 'crs_reports' and action is 'booked_rates'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment