Skip to content

Instantly share code, notes, and snippets.

@simonista
Created October 9, 2013 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonista/6903884 to your computer and use it in GitHub Desktop.
Save simonista/6903884 to your computer and use it in GitHub Desktop.
class ApplicationController < ActionController::Base
include CanvasOauth::CanvasApplication
# ...
end
default: &default
key: your_developer_key
secret: your_developer_secret
development:
<<: *default
test:
<<: *default
production:
<<: *default
# ...
gem 'canvas_oauth_engine', :require => 'canvas_oauth'
# ...
# ...
mount CanvasOauth::Engine => "/canvas_oauth"
# ...
bundle install
bundle exec rake railties:install:migrations
bundle exec rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment