Sha256: c86546c136be34e027d2ac3061fc54aea966fbeda66ded659ea07e4de857a89c

Contents?: true

Size: 1.03 KB

Versions: 36

Compression:

Stored size: 1.03 KB

Contents

= Itsf::Backend

= Installation in Rails Engines/Gem:

Add it to your Gemspec and require it:

  # my_engine.gemspec
  s.add_dependency 'itsf_backend'

  # lib/my_engine.rb
  require 'itsf_backend'

Continue following the instructions for "Installation in Rails Applications" in the consuming app.

= Installation in Rails Applications

Add it to your Gemfile

  # Gemfile
  gem 'itsf_backend'

Generate the initializer:
  
  rails g itsf:backend:install

= How do I register an engine to the backend?

Add it to the initializer:

    # config/initializers/001_itsf_backend.rb
    config.backend_engines = %w(
      Blorgh::Backend::Engine
    ).map(&:constantize)

= How do I add a home controller to a backend engine?

Inside the engine root execute:

    rails generate itsf:backend:home_controller Blorgh::Backend --skip-namespace

= How do I add a resources controller to a backend engine?

Inside the engine root execute:

    rails generate itsf:backend:resource Blorgh::Post --skip-namespace
    
= License

This project rocks and uses MIT-LICENSE.

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
itsf_backend-5.0.0.pre README.rdoc
itsf_backend-4.2.3 README.rdoc
itsf_backend-4.2.2 README.rdoc
itsf_backend-4.2.1 README.rdoc
itsf_backend-4.2.0 README.rdoc
itsf_backend-4.0.1 README.rdoc
itsf_backend-4.0.0 README.rdoc
itsf_backend-3.1.1 README.rdoc
itsf_backend-3.1.0 README.rdoc
itsf_backend-3.0.7 README.rdoc
itsf_backend-3.0.6 README.rdoc
itsf_backend-3.0.5 README.rdoc
itsf_backend-3.0.4 README.rdoc
itsf_backend-3.0.3 README.rdoc
itsf_backend-3.0.2 README.rdoc
itsf_backend-3.0.1 README.rdoc
itsf_backend-3.0.0 README.rdoc
itsf_backend-2.2.1 README.rdoc
itsf_backend-2.2.0 README.rdoc
itsf_backend-2.1.0 README.rdoc