Permalink
Browse files

make it a real hosted repo - in UI

  • Loading branch information...
1 parent 494b41f commit f95d331eeba6d087f065080e4064010520856af2 @mkristian committed Aug 8, 2012
View
3 ...main/java/org/sonatype/nexus/plugins/ruby/hosted/DefaultRubyHostedRepositoryTemplate.java
@@ -7,6 +7,7 @@
import org.sonatype.nexus.configuration.model.DefaultCRepository;
import org.sonatype.nexus.plugins.ruby.AbstractRubyGemRepositoryTemplate;
import org.sonatype.nexus.plugins.ruby.RubyContentClass;
+import org.sonatype.nexus.plugins.ruby.RubyHostedRepository;
import org.sonatype.nexus.plugins.ruby.RubyRepositoryTemplateProvider;
import org.sonatype.nexus.plugins.ruby.RubyShadowRepository;
import org.sonatype.nexus.proxy.repository.Repository;
@@ -17,7 +18,7 @@
{
public DefaultRubyHostedRepositoryTemplate( RubyRepositoryTemplateProvider provider, String id, String description )
{
- super( provider, id, description, new RubyContentClass(), RubyShadowRepository.class );
+ super( provider, id, description, new RubyContentClass(), RubyHostedRepository.class );
}
public DefaultRubyHostedRepositoryConfiguration getExternalConfiguration( boolean forWrite )

0 comments on commit f95d331

Please sign in to comment.