Skip to content
Browse files

Clean some comments from auth files

  • Loading branch information...
1 parent 6b274ee commit f5bba7ebfb77b28d185fe86291ac6801c6c924eb @joemerante joemerante committed with tinio Apr 16, 2012
View
3 app/assets/stylesheets/authentications.css.scss
@@ -1,3 +0,0 @@
-// Place all the styles related to the Authentications controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: http://sass-lang.com/
View
56 app/assets/stylesheets/scaffolds.css.scss
@@ -1,56 +0,0 @@
-body {
- background-color: #fff;
- color: #333;
- font-family: verdana, arial, helvetica, sans-serif;
- font-size: 13px;
- line-height: 18px; }
-
-p, ol, ul, td {
- font-family: verdana, arial, helvetica, sans-serif;
- font-size: 13px;
- line-height: 18px; }
-
-pre {
- background-color: #eee;
- padding: 10px;
- font-size: 11px; }
-
-a {
- color: #000;
- &:visited {
- color: #666; }
- &:hover {
- color: #fff;
- background-color: #000; } }
-
-div {
- &.field, &.actions {
- margin-bottom: 10px; } }
-
-#notice {
- color: green; }
-
-.field_with_errors {
- padding: 2px;
- background-color: red;
- display: table; }
-
-#error_explanation {
- width: 450px;
- border: 2px solid red;
- padding: 7px;
- padding-bottom: 0;
- margin-bottom: 20px;
- background-color: #f0f0f0;
- h2 {
- text-align: left;
- font-weight: bold;
- padding: 5px 5px 5px 15px;
- font-size: 12px;
- margin: -7px;
- margin-bottom: 0px;
- background-color: #c00;
- color: #fff; }
- ul li {
- font-size: 12px;
- list-style: square; } }
View
3 app/controllers/users/omniauth_callbacks_controller.rb
@@ -1,8 +1,5 @@
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
def twitter
- # p request.env["omniauth.auth"]
-
- # You need to implement the method below in your model
user = current_user || User.find_for_twitter_oauth(request.env["omniauth.auth"])
sign_in_and_redirect user, :event => :authentication

0 comments on commit f5bba7e

Please sign in to comment.
Something went wrong with that request. Please try again.