11 lines
185 B
Ruby
11 lines
185 B
Ruby
class CounterController < ApplicationController
|
|
before_action :associate!
|
|
|
|
def show; end
|
|
|
|
private
|
|
def associate!
|
|
redirect_to cluster_path unless session[:cluster]
|
|
end
|
|
end
|