Sha256: 54dce09a3356acd62f70be316d499afdd77d8911be7a0c316e6a1936f2557b96
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 Bytes
Contents
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception def break_facebook_looker @graph = Koala::Facebook::API.new("access_token_qualquer") end def access_an_user_model @users = User.all end def access_an_teste_model @teste = Teste.new end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
archruby-0.1.1 | spec/dummy_app/app/controllers/application_controller.rb |
archruby-0.1.0 | spec/dummy_app/app/controllers/application_controller.rb |