0.0
No commit activity in last 3 years
No release in over 3 years
Painless Rails Admin UI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

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.