Skip to content

Instantly share code, notes, and snippets.

@igkuz
Created July 25, 2013 19:21
Show Gist options
  • Save igkuz/6082878 to your computer and use it in GitHub Desktop.
Save igkuz/6082878 to your computer and use it in GitHub Desktop.
def process_right
if should_show_next_page
repository.read(default_options.merge(page: @meta.next_page)).on_success do |channels|
@view.next_page(channels)
end
else
@view.focus_next_item
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment