2013-06-23 12:47:22 -04:00
|
|
|
class Projects::WallsController < Projects::ApplicationController
|
2013-03-19 06:35:42 -04:00
|
|
|
before_filter :module_enabled
|
|
|
|
|
|
|
|
respond_to :js, :html
|
|
|
|
|
|
|
|
def show
|
|
|
|
@note = @project.notes.new
|
|
|
|
|
|
|
|
respond_to do |format|
|
|
|
|
format.html
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
protected
|
|
|
|
|
|
|
|
def module_enabled
|
|
|
|
return render_404 unless @project.wall_enabled
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|