Skip to content

Instantly share code, notes, and snippets.

@bernardobarreto
Created November 20, 2017 10:38
Show Gist options
  • Save bernardobarreto/68b964f54d52537322a4f1b44d3859ad to your computer and use it in GitHub Desktop.
Save bernardobarreto/68b964f54d52537322a4f1b44d3859ad to your computer and use it in GitHub Desktop.
controller using concern example
class DashboardController < ApplicationController
include IncrementableVisits
def index
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment