Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
test
.DS_Store
.gitignore
.update
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
voyager.gemspec

README.md

Voyager

A partial backend to an e-learning course system. Hacky at best.

Usage

Add this (or similar) junk to your routes...

resources :completions
get 'certificate', to: 'certificate#index'
get 'pdcertificate', to: 'certificate#generate'
resources :messages
resources :lesson_components
resources :replies do
 post 'star'
end
get '/course/:course_slug/modules', to: 'units#index'
get '/course/:course_slug/modules/:module_slug/:component_slug', to: 'units#lesson_component'
resources :lessons
resources :courses do
 get 'dashboard'
end

Installation

Add this line to your application's Gemfile:

gem 'voyager'

And then execute:

$ bundle

Or install it yourself as:

$ gem install voyager

Finally

Run

$ rails voyager:install:migrations

Check

routes.rb

License

The gem is available as open source under the terms of the MIT License.