Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci skip] Fix the indentation #21205

Merged
merged 1 commit into from
Aug 12, 2015
Merged

[ci skip] Fix the indentation #21205

merged 1 commit into from
Aug 12, 2015

Conversation

akihiro17
Copy link
Contributor

  • before

class PostsController < ActionController::Base

after_action :print_accessed_fields, only: :index

def index
  @posts = Post.all
end

private

def print_accessed_fields
  p @posts.first.accessed_fields
end

end

  • after
class PostsController < ActionController::Base
  after_action :print_accessed_fields, only: :index

  def index
    @posts = Post.all
  end

  private

  def print_accessed_fields
    p @posts.first.accessed_fields
  end
end

matthewd added a commit that referenced this pull request Aug 12, 2015
[ci skip] Fix the indentation
@matthewd matthewd merged commit 9dbccf0 into rails:master Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants