<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>public/images/spotus_wide_nav_bg.gif</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,6 @@ class HomesController &lt; ApplicationController
   # caches_page :show
   def show
     @featured = Pitch.featured_by_network(current_network)
-   # @featured = Pitch.featured
   end
 
   def start_story</diff>
      <filename>app/controllers/homes_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,9 @@
 class PitchesController &lt; ApplicationController
   before_filter :store_location, :only =&gt; :show
-  before_filter :login_required, :only =&gt; [:apply_to_contribute]
+  before_filter :login_required, :only =&gt; [:new, :create, :update, :apply_to_contribute]
   before_filter :organization_required, :only =&gt; [:half_fund, :fully_fund, :show_support]
   before_filter :set_meta_tags, :only =&gt; [:show]
+  before_filter :select_tab, :only =&gt; [:new]
 
   resources_controller_for :pitch
 
@@ -117,5 +118,9 @@ class PitchesController &lt; ApplicationController
       pitch = find_resource
       html_meta_tags(pitch.short_description,pitch.keywords) if pitch
   end
+  
+  def select_tab
+     @selected_tab = &quot;start_story&quot;
+  end
 
 end</diff>
      <filename>app/controllers/pitches_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,6 +2,7 @@ class TipsController &lt; ApplicationController
   resources_controller_for :tip, :except =&gt; :destroy
 
   before_filter :block_if_donated_to, :only =&gt; :edit
+  before_filter :login_required, :only =&gt; [:new, :create, :update]
   bounce_bots(:send_bots, :tip, :blog_url)
   before_filter :select_tab, :only =&gt; [:new]
   before_filter :set_meta_tags, :only =&gt; [:show]
@@ -30,7 +31,8 @@ class TipsController &lt; ApplicationController
   end
 
   def can_create?
-    access_denied unless Tip.createable_by?(current_user)
+    true
+    #access_denied unless Tip.createable_by?(current_user)
   end
 
   def new_resource
@@ -42,7 +44,7 @@ class TipsController &lt; ApplicationController
   protected
 
     def select_tab
-       @selected_tab = &quot;start_story&quot;
+       @selected_tab = &quot;suggest_story&quot;
     end
     
     def set_meta_tags</diff>
      <filename>app/controllers/tips_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -190,7 +190,8 @@ class Pitch &lt; NewsItem
   end
 
   def self.createable_by?(user)
-    user &amp;&amp; user.reporter? || user.organization?
+    !user.nil?
+    #user &amp;&amp; user.reporter? || user.organization?
   end
 
   def featured?</diff>
      <filename>app/models/pitch.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,8 @@
       = link_to &quot;&lt;span class='hide'&gt;Spot.us - Community Funded Reporting&lt;/span&gt;&quot;, &quot;/&quot;, :class =&gt; &quot;logo-link&quot;, :title =&gt; &quot;Spot.us - Community Funded Reporting&quot;
   .nav-container
     %ul#main-nav
-      %li{:class=&gt;&quot;start_story#{check_if_tab(&quot;start_story&quot;,@selected_tab)}&quot;}= facebox_login_link_to &quot;Start a Story&quot;, start_story_path
+      %li{:class=&gt;&quot;suggest_story#{check_if_tab(&quot;suggest_story&quot;,@selected_tab)}&quot;}= facebox_login_link_to &quot;Suggest a Story&quot;, new_tip_path
+      %li{:class=&gt;&quot;start_story#{check_if_tab(&quot;start_story&quot;,@selected_tab)}&quot;}= facebox_login_link_to &quot;Start a Story&quot;, new_pitch_path
       %li{:class=&gt;&quot;fund_story#{check_if_tab(&quot;pitches&quot;,@selected_tab)}&quot;}= link_to &quot;Search Pitches&quot;, news_items_path
       %li{:class=&gt;&quot;read_story#{check_if_tab(&quot;stories&quot;,@selected_tab)}&quot;}= link_to &quot;Read a Story&quot;, stories_path
       %li{:class=&gt;&quot;about_spotus#{check_if_tab(&quot;about&quot;,@selected_tab)}&quot;}= link_to &quot;About&quot;, page_path('about')</diff>
      <filename>app/views/layouts/_header.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -52,7 +52,8 @@ jQuery(document).ready(function($){
 	          else
 		           $(document).trigger('close.facebox');
 		           renderUserHeader();
-				   		 $(&quot;li.start_story a.authbox&quot;).removeClass(&quot;authbox&quot;).removeAttr(&quot;return_to&quot;).attr(&quot;href&quot;,&quot;/start_story&quot;);
+				   		 $(&quot;li.start_story a.authbox&quot;).removeClass(&quot;authbox&quot;).removeAttr(&quot;return_to&quot;).attr(&quot;href&quot;,&quot;/pitches/new&quot;);
+							 $(&quot;li.suggest_story a.authbox&quot;).removeClass(&quot;authbox&quot;).removeAttr(&quot;return_to&quot;).attr(&quot;href&quot;,&quot;/tips/new&quot;);
 				   		 if($(&quot;#flash&quot;).length &gt; 0){
 				   		 		$(&quot;#flash&quot;).html(&quot;&quot;);
 							 }</diff>
      <filename>public/javascripts/auth.js</filename>
    </modified>
    <modified>
      <diff>@@ -230,10 +230,10 @@ body {
 }
 #header .nav-container {
   float: right;
-  background: url(/images/spotus_nav_bg.gif) no-repeat 0 bottom;
+  background: url(/images/spotus_wide_nav_bg.gif) no-repeat 0 bottom;
   padding: 6px 0 0 0;
   height: 26px;
-  width: 506px;
+  width: 659px;
 }
 #header .nav-container ul {
   margin: 0;
@@ -256,6 +256,10 @@ body {
 #main-nav li.start_story, #main-nav li.fund_story, #main-nav li.read_story, #main-nav li.about_spotus  {
   text-align: center;
 }
+#main-nav li.suggest_story {
+  width: 132px;
+	margin-left:21px;
+}
 #main-nav li.start_story {
   width: 118px;
 }</diff>
      <filename>public/stylesheets/screen_spotus.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>40a1ea673bd5024288065cc8d978736209983525</id>
    </parent>
  </parents>
  <author>
    <name>Dan Newman</name>
    <email>dpnewman@gmail.com</email>
  </author>
  <url>http://github.com/spot-us/spot-us/commit/016fe7f5b06bb77e9b699d405d339b4d3b3502fd</url>
  <id>016fe7f5b06bb77e9b699d405d339b4d3b3502fd</id>
  <committed-date>2009-11-04T10:23:54-08:00</committed-date>
  <authored-date>2009-11-04T10:23:54-08:00</authored-date>
  <message>Google search and revised nav bar with tip and pitch creation</message>
  <tree>fa0874252f4ec93cbfde66221aa368c00d69bc7e</tree>
  <committer>
    <name>Dan Newman</name>
    <email>dpnewman@gmail.com</email>
  </committer>
</commit>
