Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (12 sloc) 0.281 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require 'clearance'

Clearance.configure do |config|
end

class ApplicationController < ActionController::Base
  include Clearance::Authentication

  def show
    render :text => '', :layout => 'application'
  end
end

class User < ActiveRecord::Base
  include Clearance::User
end
Something went wrong with that request. Please try again.