|
|
|
@@ -1,11 +1,15 @@ |
|
|
|
class Organizations::ClasController < Organizations::BaseController |
|
|
|
before_action :load_organization |
|
|
|
before_action :load_cla, only: [:show, :update, :destroy] |
|
|
|
|
|
|
|
def index |
|
|
|
@cla = @organization.cla |
|
|
|
end |
|
|
|
|
|
|
|
def show |
|
|
|
def show |
|
|
|
@is_admin = can_edit_org? |
|
|
|
@is_member = @organization.is_member?(current_user.id) |
|
|
|
@is_sign = @organization.is_sign?(current_user.id) |
|
|
|
end |
|
|
|
|
|
|
|
def create |
|
|
|
|