Sha256: b73d225fcbd99bf33557becbb0467583b6a19261b0f8c010164be383fd848e00

Contents?: true

Size: 387 Bytes

Versions: 73

Compression:

Stored size: 387 Bytes

Contents

require_dependency "ishapi/application_controller"

module Ishapi
  class UsersController < ApplicationController
    before_action :set_profile, :only => [ :fb_sign_in, :show ]

    def fb_sign_in
      authorize! :fb_sign_in, Ishapi
      # render :json => { :status => :ok }
      render :action => 'show'
    end

    def show
      authorize! :fb_sign_in, Ishapi
    end

  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
ishapi-0.1.8.145 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.144 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.143 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.142 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.141 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.140 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.139 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.138 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.137 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.136 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.135 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.134 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.133 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.132 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.131 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.130 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.129 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.128 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.127 app/controllers/ishapi/users_controller.rb
ishapi-0.1.8.126 app/controllers/ishapi/users_controller.rb