Skip to content

Commit

Permalink
Updated README instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pgeraghty committed Jul 12, 2013
1 parent 0107921 commit 561435a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ Run:

This will include the lazy_high_charts gem and add the assets to the pipeline.

In your RailsAdmin initializer (`app/config/initializers/rails_admin.rb`), enable the action by adding:

```ruby
config.actions do
charts
end
```

For any model where you wish to display a chart (defaults to a cumulative total showing the last 100 days), add the following just under the class declaration:

```ruby
Expand Down

0 comments on commit 561435a

Please sign in to comment.