Sha256: 446839a0bb2444544c6aeb16338e8cd54b0d665fbeb341abaf65558cb9545670
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
# # ==== Standalone MerbAdmin configuration # # This configuration/environment file is only loaded by bin/slice, which can be # used during development of the slice. It has no effect on this slice being # loaded in a host application. To run your slice in standalone mode, just # run 'slice' from its directory. The 'slice' command is very similar to # the 'merb' command, and takes all the same options, including -i to drop # into an irb session for example. # # The usual Merb configuration directives and init.rb setup methods apply, # including use_orm and before_app_loads/after_app_loads. # # If you need need different configurations for different environments you can # even create the specific environment file in config/environments/ just like # in a regular Merb application. # # In fact, a slice is no different from a normal # Merb application - it only # differs by the fact that seamlessly integrates into a so called 'host' # application, which in turn can override or finetune the slice implementation # code and views. use_test :rspec use_template_engine :erb Merb::Config.use do |c| c[:exception_details] = true c[:reload_templates] = true c[:reload_classes] = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-admin-0.8.5 | config/init.rb |
merb-admin-0.8.3 | config/init.rb |