mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-25 02:08:43 +02:00
Fix installation instructions
This commit is contained in:
@@ -27,7 +27,7 @@ Other versions are untested but might work fine.
|
|||||||
Add the following line to your application's Gemfile:
|
Add the following line to your application's Gemfile:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem 'crono', require: false
|
gem 'crono'
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the `bundle` command to install it.
|
Run the `bundle` command to install it.
|
||||||
@@ -124,8 +124,6 @@ gem 'sinatra', require: nil
|
|||||||
Add the following to your `config/routes.rb`:
|
Add the following to your `config/routes.rb`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
require 'crono/web'
|
|
||||||
|
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
mount Crono::Web, at: '/crono'
|
mount Crono::Web, at: '/crono'
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user