Sha256: 4b074c213e5b6395e7ca54585c6295b66dc0521b3e4822a333efa10e82e2c83b

Contents?: true

Size: 933 Bytes

Versions: 1

Compression:

Stored size: 933 Bytes

Contents

# CustomReport

Create and view custom reports

## Installation

Add this line to your application's Gemfile:

    gem 'custom_report'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install custom_report

## Database migration

    $ rails generate custom_report
    $ rake db:migrate

## Usage

In config/initializers/custom_report.rb

    CustomReport.layout = "admin_bootstrap"
    CustomReport.includes = AuthenticatedAdminSystem
    CustomReport.admin_class = "Administrator"
    CustomReport.before_filters = [:authenticate_or_request_admin]

In your routes

    mount CustomReport::Engine => "/custom_report"

This creates the path

    /custom_report/reports



## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
custom_report-0.0.2 README.md