Sha256: 6ea8b9f0b171b8148c5a0f0704bcbb4621130e5fd4697515c17bc0c4fd31644c
Contents?: true
Size: 800 Bytes
Versions: 2
Compression:
Stored size: 800 Bytes
Contents
if recipes.include? 'mongoid' gem 'formtastic', "~> 2.1.1" gem 'activeadmin-mongoid' else gem 'activeadmin' end gem "meta_search", '>= 1.1.0.pre' # sass-rails is also required but is by default in rails after_bundler do case config['user_model'] when 'default' generate 'active_admin:install' when '' generate 'active_admin:install' when 'skip' generate 'active_admin:install --skip-users' else generate "active_admin:install #{config['user_model']}" end end __END__ name: RailsAdmin description: "Install Active Admin to build an administration zone data in your application" author: systho category: other config: - user_model: type: string prompt: "What model will you use for admin users ? type 'skip' to skip this step (default is AdminUser)"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_apps_composer-1.4.10 | recipes/active_admin.rb |
rails_apps_composer-1.4.9 | recipes/active_admin.rb |