Permalink
Browse files

Initial commit

  • Loading branch information...
dcramer committed Jun 14, 2010
0 parents commit 62519c181fa416225c44e768476cf68e5ea24038
Showing with 24 additions and 0 deletions.
  1. 0 README
  2. 0 Rakefile
  3. +10 −0 app/controllers/welcome_controller.rb
  4. +12 −0 init.rb
  5. +1 −0 install.rb
  6. +1 −0 uninstall.rb
0 README
No changes.
No changes.
@@ -0,0 +1,10 @@
+class WelcomeController < ApplicationController
+ unloadable
+
+ before_filter :forward_to_projects, :only => :index
+
+ def forward_to_projects
+ redirect_to(:controller => "projects", :action => "index")
+ return false
+ end
+end
12 init.rb
@@ -0,0 +1,12 @@
+require 'redmine'
+
+Redmine::Plugin.register :home_to_projects do
+ name 'Forward Home to Projects'
+ author 'Disqus'
+ url 'http://github.com/dcramer/redmine-home-to-projects'
+ author_url 'http://tweekedideas.com/'
+ description 'Forward a Redmine user to a the project listing when visiting the Home page.'
+ version '1.0'
+
+ requires_redmine :version_or_higher => '0.8.0'
+end
@@ -0,0 +1 @@
+# Install hook code here
@@ -0,0 +1 @@
+# Uninstall hook code here

0 comments on commit 62519c1

Please sign in to comment.