Skip to content

Commit 2563b91

Browse files
committed
Load raddocs in the example app
1 parent 9df84ea commit 2563b91

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

example/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ source 'https://rubygems.org'
33
gem 'rails', '4.1.1'
44
gem 'sqlite3'
55
gem 'spring', group: :development
6+
gem 'raddocs', :github => "smartlogic/raddocs"
67

78
group :test, :development do
89
gem 'rspec-rails'
910
gem 'rspec_api_documentation', :path => "../"
10-
gem 'raddocs', :github => "smartlogic/raddocs"
1111
end

example/config/routes.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
Rails.application.routes.draw do
22
resources :orders
3+
4+
mount Raddocs::App => "/docs", :anchor => false
35
end

0 commit comments

Comments
 (0)