Blocage fonctions
This commit is contained in:
parent
1fc9075c3b
commit
f3654718cf
@ -54,8 +54,8 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
|
||||
def current_fuser
|
||||
|
||||
@current_fuser ||= ForumUser.find_by_auth_token!(cookies[:forum_auth_token]) if cookies[:forum_auth_token]
|
||||
@current_fuser = nil
|
||||
#@current_fuser ||= ForumUser.find_by_auth_token!(cookies[:forum_auth_token]) if cookies[:forum_auth_token]
|
||||
|
||||
|
||||
#if session[:forum_user_id] and ForumUser.exists?(session[:forum_user_id])
|
||||
|
@ -7,7 +7,7 @@ class Public::JoinsController < ApplicationController
|
||||
|
||||
|
||||
def select_sheet
|
||||
|
||||
raise
|
||||
if !session[:sheet_id] or !(@sheet = Sheet.where(:id => session[:sheet_id]).first)
|
||||
@sheet = Sheet.new(:sheet_type => 1, :web => true)
|
||||
@sheet.people.build(:web => true)
|
||||
|
@ -6,6 +6,7 @@ class Public::OrdersController < ApplicationController
|
||||
skip_before_filter :verify_authenticity_token, :only => [:ipn]
|
||||
|
||||
def new
|
||||
raise
|
||||
@order = Order.new(:country => "France")
|
||||
|
||||
end
|
||||
|
@ -7,6 +7,7 @@ class Public::RenewsController < ApplicationController
|
||||
|
||||
|
||||
def select_sheet
|
||||
raise
|
||||
@renew = Renew.new(:sheet_number => params[:s])
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user