# Outpost/Secretary

[secretary-rails](http://rubygems.org/gems/secretary-rails) integration with Outpost.
Provides views and controller for Outpost.

## Installation

Add this line to your application's Gemfile:

    gem 'outpost-secretary'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install outpost-secretary

## Usage

If you already have secretary-rails installed and configured, then this gem will just work.
If not, check out the [secretary-rails documentation](https://github.com/SCPR/secretary-rails) for instructions.

## 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

# Outpost/Secretary

[secretary-rails](http://rubygems.org/gems/secretary-rails) integration with Outpost.
Provides views and controller for Outpost.

## Installation

Add this line to your application's Gemfile:

    gem 'outpost-secretary'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install outpost-secretary

## Usage

If you already have secretary-rails installed and configured, then all you need to do is add this to your routes:

```ruby
namespace :outpost do
  # ...

  get "/activity" => "versions#activity",  as: :activity
  get "/:resources/:resource_id/history" => "versions#index", as: :history
  get "/:resources/:resource_id/history/:version_number" => "versions#show", as: :version

  #...
```

And add the stylesheet to your outpost/application.css:

```scss
@import 'outpost/secretary';
```

If Secretary isn't yet installed, check out the [secretary-rails documentation](https://github.com/SCPR/secretary-rails) for instructions.

## 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

Add some more usage instructions
Add some more usage instructions
