Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 17th, 2018
68
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
def create
if request.format.js?
resource = warden.authenticate(:scope => resource_name)
unless resource
render :display_errors
else
render :logged_user
end
else
super
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
SQL | 1 hour ago | 1.28 KB
NodeMCU Amica RC Bluino App
Arduino | 3 hours ago | 7.51 KB
at_command_sim7600_en_reg
Arduino | 3 hours ago | 4.25 KB
index.php
PHP | 3 hours ago | 3.38 KB
daftar.php
PHP | 3 hours ago | 4.10 KB
login.php
PHP | 3 hours ago | 3.49 KB
profil.php
PHP | 3 hours ago | 10.41 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!