Sha256: 5bab5483107985618fe816d982b434b4091830db126c7dc220987c09206a8248
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
class TablesController < InheritedResources::Base filter_resource_access def create build_resource.user = current_user build_resource.data_type = "sql" create! end def update update! end def show show! do @test_html = @table.test if params[:test] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
daily-0.0.3 | app/controllers/tables_controller.rb |
daily-0.0.2 | app/controllers/tables_controller.rb |