Skip to content

Commit

Permalink
the move_and_generate_files method must be loaded at the end of the a…
Browse files Browse the repository at this point in the history
…dmin_subsite_generator
  • Loading branch information
ddnexus committed May 18, 2011
1 parent cd749d0 commit 8d6ce8e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -5,7 +5,6 @@ class AdminSubsiteGenerator < Rails::Generators::NamedBase
# overrides the default
argument :name, :type => :string, :default => 'admin', :optional => true

include Generators::Hobo::Subsite
include Generators::Hobo::InviteOnly
include Generators::HoboSupport::EvalTemplate

Expand All @@ -31,5 +30,7 @@ def append_admin_tag_into_application_taglib
append_file(destination) { eval_template('admin_tag_injection.erb') }
end

include Generators::Hobo::Subsite

end
end

0 comments on commit 8d6ce8e

Please sign in to comment.