From 7949e1166cf7178d89bfea79d4a2347639eef90b Mon Sep 17 00:00:00 2001 From: fanqiang <316257774@qq.com> Date: Sun, 4 Aug 2013 10:59:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/bids_controller.rb | 2 ++ app/helpers/bids_helper.rb | 1 + app/models/biding_project.rb | 1 + app/models/journals_for_message.rb | 1 + app/models/messages_for_user.rb | 1 + app/models/watchers_of_projects.rb | 1 + app/models/watchers_of_user.rb | 1 + app/views/bids/_bid_show.html.erb | 1 + app/views/bids/_new.html.erb | 2 +- app/views/bids/_new_bid.html.erb | 1 + app/views/bids/_project_list.html.erb | 1 + app/views/bids/index.html.erb | 1 + app/views/bids/show.html.erb | 2 +- app/views/bids/show_project.html.erb | 1 + app/views/words/_message.html.erb | 1 + app/views/words/_new.html.erb | 1 + 16 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/controllers/bids_controller.rb b/app/controllers/bids_controller.rb index dca354c6f..8510723c2 100644 --- a/app/controllers/bids_controller.rb +++ b/app/controllers/bids_controller.rb @@ -1,3 +1,5 @@ +# fq + class BidsController < ApplicationController before_filter :find_bid, :only => [:show, :show_project, :create, :destroy, :more, :back, :add] diff --git a/app/helpers/bids_helper.rb b/app/helpers/bids_helper.rb index 2f2840741..fcd253c84 100644 --- a/app/helpers/bids_helper.rb +++ b/app/helpers/bids_helper.rb @@ -1,3 +1,4 @@ +# fq module BidsHelper def render_notes(bid, journal, options={}) content = '' diff --git a/app/models/biding_project.rb b/app/models/biding_project.rb index e9cd6560d..4b6c2b6c3 100644 --- a/app/models/biding_project.rb +++ b/app/models/biding_project.rb @@ -1,3 +1,4 @@ +## fq class BidingProject < ActiveRecord::Base attr_accessible :bid_id, :project_id, :user_id, :description diff --git a/app/models/journals_for_message.rb b/app/models/journals_for_message.rb index 8b99b9896..c3085d1cf 100644 --- a/app/models/journals_for_message.rb +++ b/app/models/journals_for_message.rb @@ -1,3 +1,4 @@ +# fq class JournalsForMessage < ActiveRecord::Base attr_accessible :jour_id, :jour_type, :notes, :reply_id, :status, :user_id attr_accessor :indice diff --git a/app/models/messages_for_user.rb b/app/models/messages_for_user.rb index af3b6863f..595b1a673 100644 --- a/app/models/messages_for_user.rb +++ b/app/models/messages_for_user.rb @@ -1,3 +1,4 @@ +# fq class MessagesForUser < ActiveRecord::Base attr_accessible :message, :messager_id, :user_id belongs_to :user diff --git a/app/models/watchers_of_projects.rb b/app/models/watchers_of_projects.rb index 53aca680d..4a767aaee 100644 --- a/app/models/watchers_of_projects.rb +++ b/app/models/watchers_of_projects.rb @@ -1,3 +1,4 @@ +# fq class WatchersOfProjects < ActiveRecord::Base attr_accessible :project_id, :user_id belongs_to :project diff --git a/app/models/watchers_of_user.rb b/app/models/watchers_of_user.rb index cf205b1d8..527b092c8 100644 --- a/app/models/watchers_of_user.rb +++ b/app/models/watchers_of_user.rb @@ -1,3 +1,4 @@ +# fq class WatchersOfUser < ActiveRecord::Base attr_accessible :user_id, :watcher_id belongs_to :user diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index 42b5bc163..6e1316f5e 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -1,3 +1,4 @@ +
需求列表 diff --git a/app/views/bids/_new.html.erb b/app/views/bids/_new.html.erb index 9585f0131..d57362878 100644 --- a/app/views/bids/_new.html.erb +++ b/app/views/bids/_new.html.erb @@ -1,4 +1,4 @@ - + <%= form_for('bid_message', :remote => true, :method => :post, :url => {:controller => 'bids', :action => 'create', diff --git a/app/views/bids/_new_bid.html.erb b/app/views/bids/_new_bid.html.erb index 897a26bd9..2b899154d 100644 --- a/app/views/bids/_new_bid.html.erb +++ b/app/views/bids/_new_bid.html.erb @@ -1,3 +1,4 @@ +