removed generators and moved initializer to config/initializers inside calendar module
This commit is contained in:
parent
8e349bced4
commit
23b325165f
|
@ -1,8 +0,0 @@
|
||||||
Description:
|
|
||||||
Explain the generator
|
|
||||||
|
|
||||||
Example:
|
|
||||||
rails generate install Thing
|
|
||||||
|
|
||||||
This will create:
|
|
||||||
what/will/it/create
|
|
|
@ -1,8 +0,0 @@
|
||||||
class InstallGenerator < Rails::Generators::NamedBase
|
|
||||||
source_root File.expand_path('../templates', __FILE__)
|
|
||||||
desc "Installs Calendar Module for R4"
|
|
||||||
|
|
||||||
def install
|
|
||||||
template "initializer.rb", "config/initializers/orbit_calendar.rb"
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue