thingspeak/app/helpers/channels_helper.rb
2014-02-17 12:05:39 -05:00

12 lines
174 B
Ruby

module ChannelsHelper
include ApplicationHelper
def auth_channels_path
if current_user
'/channels'
else
'/channels/public'
end
end
end